brianstock / MixSIAR

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

Error in Jags.model .... Runtime error in lines 15 and 17. #388

Open Jarthur-12 opened 1 month ago

Jarthur-12 commented 1 month ago

Full error message below. Im stumped. Any ideas? Error in jags.model(model.file, data = data, inits = init.values, n.chains = n.chains, : RUNTIME ERROR: Unable to resolve the following parameters: MU_array[1,1,1] (line 15) MU_array[1,1,2] (line 15) MU_array[1,1,3] (line 15) MU_array[1,1,4] (line 15) MU_array[1,2,1] (line 15) MU_array[1,2,2] (line 15) MU_array[1,2,3] (line 15) MU_array[1,2,4] (line 15) MU_array[2,1,1] (line 15) MU_array[2,1,2] (line 15) MU_array[2,1,3] (line 15) MU_array[2,1,4] (line 15) MU_array[2,2,1] (line 15) MU_array[2,2,2] (line 15) MU_array[2,2,3] (line 15) MU_array[2,2,4] (line 15) SIG2_array[1,1,1] (line 15, 17) SIG2_array[1,1,2] (line 15, 17) SIG2_array[1,1,3] (line 15, 17) SIG2_array[1,1,4] (line 15, 17) SIG2_array[1,2,1] (line 15, 17) SIG2_array[1,2,2] (line 15, 17) SIG2_array[1,2,3] (line 15, 17) SIG2_array[1,2,4] (line 15, 17) SIG2_array[2,1,1] (line 15, 17) SIG2_array[2,1,2] (line 15, 17) SIG2_array[2,1,3] (line 15, 17) SIG2_array[2,1,4] (line 15, 17) SIG2_array[2,2,1] (line 15, 17) SIG2_array[2,2,2] (line 15, 17) SIG2_array[2,2,3] (line 15, 17) SIG2_array[2,2,4] (line 15, 17) Sigm

Jarthur-12 commented 1 month ago

Above the error message the following text is displayed: Compiling model graph Resolving undeclared variables Allocating nodes Deleting model