make_modelstring | R Documentation |
This writes the desired fingerprint mixture model into a separate file to be read into JAGS. It also returns the nodes that need to be monitored during the MCMC run.
make_modelstring( model.opt = c("2sex.2age", "1sex.1age", "2sex.1age", "1sex.2age", "compare1v2age", "compare1v2ageNEXT"), filename = "bayesmodel.txt", pseudopriors = NULL )
model.opt |
a string representing which version of the model you want to run |
filename |
the name of the text document that the model will be written to |
pseudopriors |
when running a "super model," this is where you pass the posterior distributions of the two models to then be used as pseudopriors |
a list of the nodes (parameters) that should be monitored during the JAGS MCMC run
Andrew Burchill, andrew.burchill@asu.edu
print("hello")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.