2: In if (tolower(modeltype) == "sparta") { :
the condition has length > 1 and only the first element will be used
3: In jags.samples(model, variable.names, n.iter, thin, type = "trace", :
Failed to set trace monitor for eta.p0
Variable eta.p0 not found
4: In jags.samples(model, variable.names, n.iter, thin, type = "trace", :
Failed to set trace monitor for eta.psi0
Variable eta.psi0 not found
[ ] Check all valid model formations
[ ] Identify ones where parameters are traced but don't exist
I get these warnings