Description Usage Arguments Details Value
Given an AM_mcmc_output
object, as well as the target variable names,
AM_extract will return a list of the variables of interest.
1 | AM_extract(object, targets, iterations = NULL, debug = FALSE)
|
object |
an |
targets |
List of variables to extract (ie. K, M, mu). |
iterations |
Can specify particular iterations to extracts, NULL for all. |
debug |
Activate log to. |
Due to the complexity of AntMAN outputs, AM_mcmc_output
object can be difficult
to handle. The AM_extract function eases access of particular variables within the
AM_mcmc_output
object. Variables of varying dimension are expected to result from the transdimensional moves. When considering such
variables, the extracted list would correspond to an nx1 list, where n refers to the number of extracted iterations. Each of these nx1 entries consists
of another list of dimension mx1, where m specifies the number of components inferred for that iteration.
a list of variables specified in targets
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.