[51e927]: classic-bugs / vol1 / seeds / test1.R  Maximize  Restore  History

Download this file

11 lines (10 with data), 350 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
source("../../R/Rcheck.R")
load.modules("glm")
d <- read.jagsdata("seeds-data.R")
inits <- read.jagsdata("seeds-init.R")
m <- jags.model("seeds.bug", d, inits, n.chains=2, n.adapt=2500)
update(m, 2500)
x <- coda.samples(m, c("alpha0", "alpha1","alpha2","alpha12","sigma"),
n.iter=10000, thin=10)
source("bench-test1.R")
check.fun()

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks