[3547b6]: classic-bugs / vol1 / salm / test2.R  Maximize  Restore  History

Download this file

10 lines (9 with data), 307 Bytes

1
2
3
4
5
6
7
8
9
source("../../R/Rcheck.R")
load.module("glm")
d <- read.jagsdata("salm-data.R")
inits <- read.jagsdata("salm-init.R")
m <- jags.model("salm-pareto.bug", d, inits, n.chains=2)
update(m, 1000)
x <- coda.samples(m, c("alpha","beta","gamma","sigma","deviance"), n.iter=5000)
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