inst/classic-bugs/vol2/birats/test4.R

source("../../R/Rcheck.R")
data <- read.jagsdata("birats-data.R")
inits <- read.jagsdata("birats-inits.R")
m <- jags.model("birats4.bug", data, inits, n.chains=2)
update(m, 1000)
x <- coda.samples(m, c("mu.beta","sigma.beta","r", "alpha0"), thin=10,
                  n.iter=10000)
source("bench-test4.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.