Description Usage Arguments Value Author(s) Examples
This function generate a template for choosing which samples to monitor based on the model and hierarchy. As some of the MCMC model simulations require large amounts of memory choosing not to monitor samples reduced the overall memory footprint.
1 | bhpm.monitor.samples(model = "1a", hier = 3)
|
model |
Allowed values are "1a" and "BB". "BB" models include a point-mass. |
hier |
Allowed values are 2 and 3. Generate a template for a 2 or 3 level hierarchy. |
A dataframe containing two columns:
variable: the name of a class of variables e.g. "theta" monitor: 0 - don't monitor, 1 - monitor.
R. Carragher
1 2 3 4 5 | mon <- bhpm.monitor.samples("1a", hier = 3)
print(mon)
mon <- bhpm.monitor.samples("1a", hier = 3)
print(mon)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.