hi Catherine,
It looks like the problem is that you are providing `sxy` as a data
frame with one element named 'y' and that is incorrectly being
interpreted as the initial values for `y`.
The reason is that nimble tries to allow users to provide `inits`
either as (a) a single list that contains initial values for the
variables or (b) as a list of lists with each component list the
initial values for a different MCMC chain. Our checking of which
situation we are in seems to be insufficient to handle this situation
where (since a data frame is a list) we think we are in situation (b).
As a result, the `y` column of `sxy` is being considered as initial
values for `y` and the dimensions don't match the `y` variable in the
model.
Could you change `sxy` to a matrix and see if that fixed things?
I will file an issue for us to try to better error trap this.
-chris
> --
> You received this message because you are subscribed to the Google Groups "nimble-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
nimble-users...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/nimble-users/9aa94aa1-0c64-4936-be4e-7b3811a5f8ean%40googlegroups.com.