brianstock / MixSIAR

A framework for Bayesian mixing models in R:
http://brianstock.github.io/MixSIAR/
90 stars 75 forks source link

Error when running output_JAGS #320

Open KJames53 opened 2 years ago

KJames53 commented 2 years ago

Hi there,

I keep getting this error when running the output_JAGS function and was wondering if you had any insight into what it means?

In df$x[seq(1 + n.draws (src - 1), src n.draws)] <- as.matrix(p.ind[, : number of items to replace is not a multiple of replacement length

Thanks, Kelly

brianstock commented 2 years ago

Hard to say - you'd need to post your data and code for anyone to help, i.e. a minimal reproducible example: https://stackoverflow.com/help/minimal-reproducible-example.