Skip to content

A Simple Question

2 messages · Gao, Aijun, Ben Bolker

#
Gao, Aijun <Aijun.Gao <at> i3statprobe.com> writes:
message stated that : Error: could not
your R by reading external data
sigma.theta=runif(1,0,100))}
schools.sim <- bugs (data, inits, parameters, "schools.bug", n.chains=3,
n.iter=1000)
I think you need 

library(R2WinBUGS)

before you try to run the bugs command

this is all assuming that you have WinBUGS installed ...

  Ben Bolker