Commit 5f5c584b authored by kunstler's avatar kunstler
Browse files

change writing of bugs file for jags 4

parent d09cdbba
......@@ -60,9 +60,10 @@ require(runjags)
inits <- fun.generate.init(jags.model, list.jags[[1]], chains)
### SEND to jags
print(getwd())
browser()
jags.output <- run.jags(data=list.jags[[1]],
inits = inits,
model = jags.model$bugs, #file.path(path.out,"model.file.bug"),
model = jags.model$bug, #file.path(path.out,"model.file.bug"),
monitor = names(jags.model$pars),
n.chains = chains ,
sample = iter,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment