[3547b6]: classic-bugs / vol1 / lsat / test1.R Maximize Restore History

Download this file

test1.R    10 lines (9 with data), 285 Bytes

1
2
3
4
5
6
7
8
9
source("../../R/Rcheck.R")
load.module("glm")
d <- read.jagsdata("lsat-data.R")
inits <- read.jagsdata("lsat-init.R")
m <- jags.model("lsat.bug", d, inits, n.chains=2, n.adapt=500)
update(m, 500)
x <- coda.samples(m, c("alpha","beta"), n.iter=2000)
source("bench-test1.R")
check.fun()