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

source("../../R/Rcheck.R")
d <- read.jagsdata("equiv-data.R")
m <- jags.model("equiv.bug", d, n.chains=2)
update(m, 1000)
x <- coda.samples(m, c("theta","equivalence","sigma"), n.iter=10000)
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 July 9, 2023, 5:24 p.m.