Looking in the manual it sounds like I can’t do array values bounds. But the closed github issue says otherwise. Now, even with that closed issue, this is a bit different since it’s a 2d array and I want the array upper bound to pick up the first dimension and check the bound. Wondering if this is this something I can do @rok_cesnovar ? It’s not a big deal if I can’t but it would be nice to have the extra data check
int<lower=1> N; // total number training of observations
int<lower=1> N_groups; // number of groups
int<lower=1> N_levels[N_groups]; // number of levels for each group
int<lower=1> G[N_groups, N]; // 2d array containing the group
// indexes G[1] is equiv to
// G[1] = groupid[N], G[2] = category_name[N], etc
// can I do instead
int<lower=1, upper=N_levels> G[N_groups, N];