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]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.