Displaying 1 result from an estimated 1 matches for "ontarioresult".
2011 Jun 27
0
OpenBUGS and glmmBUGS package
...rary(glmmBUGS)
forBugs = glmmBUGS(formula=observed + logExpected ~ 1,
effects="CSDUID", family="poisson", spatial=popDataAdjMat,
data=ontario at data, modelFile="model.txt")
startingValues = forBugs$startingValues
source("getInits.R")
library(R2OpenBUGS)
ontarioResult = bugs(forBugs$ragged, getInits, parameters.to.save =
names(getInits()), model.file="model.txt", n.chain=3, n.iter=100,
n.burnin=10, n.thin=2)
-------------------------------------------
I got error message saying "Error in bugs.run(n.burnin, OpenBUGS.pgm,
debug = debug, WINE = WINE...