c212.monitor.samples {c212}R Documentation

Generate a template for choosing which samples to monitor.

Description

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.

Usage

	c212.monitor.samples(model = "1a", hier = 3)

Arguments

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.

Value

A dataframe containing two columns:

variable: the name of a class of variables e.g. "theta" monitor: 0 - don't monitor, 1 - monitor.

Author(s)

R. Carragher

Examples

c212.monitor.samples("1a", hier = 3)
## Not run: 
c212.monitor.samples("1a", hier = 3)
       variable monitor
1         theta       1
2         gamma       0
3      mu.gamma       0
4      mu.theta       0
5  sigma2.theta       0
6  sigma2.gamma       0
7    mu.theta.0       0
8    mu.gamma.0       0
9  tau2.theta.0       0
10 tau2.gamma.0       0

## End(Not run)

[Package c212 version 0.98 Index]