inst/classic-bugs/vol1/pump/test1.R

source("../../R/Rcheck.R")
d <- read.jagsdata("pump-data.R")
inits <- read.jagsdata("pump-init.R")
m <- jags.model("pump.bug", d, inits, n.chains=2)
update(m,1000)
x <- coda.samples(m, c("theta","alpha","beta"), n.iter=5000)
source("bench-test1.R")
check.fun()

Try the nimble package in your browser

Any scripts or data that you put into this service are public.

nimble documentation built on Sept. 11, 2024, 7:10 p.m.