error message
I think we need a couple of things. First we need your post in text not hmtl. R-help removes the html as a security feature and it turns your post into a complete mess. See below. Second we probably need more information and some data. Please read one or both of these http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html Welcome to the R-help list John Kane Kingston ON Canada
-----Original Message-----
From: catarinaramosmaia at gmail.com
Sent: Fri, 22 May 2015 18:08:13 +0100
To: r-help at r-project.org
Subject: [R] error message
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 at 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.
____________________________________________________________ Can't remember your password? Do you need a strong and secure password? Use Password manager! It stores your passwords & protects your account.