crs_nimble | R Documentation |
convenience function for building and compiling nimble models Note by MF: "Compile and Run"
crs_nimble( model_code, constants, data, inits, monitors = c(), nburnin = 0, thin = 1, niter = 1e+05, nchains = 4 )
model_code |
either a string containing the code of the model or the variable in which the code is stored |
constants |
ALL the constants |
data |
the dataset to be passed to 'nimble::nimbleModel()' |
inits |
inits parameter to be passed to 'nimble::nimbleModel()' |
monitors |
user modified monitors; leave empty if |
nburnin |
... |
thin |
... |
niter |
number of iterations |
nchains |
number of chains |
mcmc.list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.