[R] error message

Catarina Maia catarinaramosmaia at gmail.com
Fri May 22 19:08:13 CEST 2015


Hi
Can you please help me :(

I am trying to fit a multilevel model but I have received the following
message

skate.3 <- bugs (skate.data, inits=NULL, skate.parameters,
"skates.bug",+                  n.chains=2, n.iter=500, +
bugs.directory="c:/ProgramFiles(x86)/OpenBUGS/OpenBUGS323",+
  program=c("OpenBUGS"))model is syntactically correctexpected
variable name error pos 5 (error on line 1)variable n is not
definedmodel must be compiled before generating initial valuesSampling
has been started ...model must be initialized before updatingmodel
must be initialized before DIC can be monitoredError in
BRugs::samplesSet(parametersToSave) :
  model must be initialized before monitors used

	[[alternative HTML version deleted]]



More information about the R-help mailing list