[1771d5]: classic-bugs / vol2 / eyes / test2.R  Maximize  Restore  History

Download this file

10 lines (8 with data), 280 Bytes

1
2
3
4
5
6
7
8
source("../../R/Rcheck.R")
data <- read.jagsdata("eyes-data.R")
inits <- read.jagsdata("eyes-inits.R")
m <- jags.model("eyes2.bug", data, inits, n.chains=2)
update(m, 1000)
x <- coda.samples(m, c("P", "lambda","sigma"), thin=20, n.iter=40000)
source("bench-test2.R")
check.fun()

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks