View source: R/mcmc-derive-data.R
mcmc_derive_data.mcmc_data | R Documentation |
Gets mcmc_data object of a derived parameters. To return an mcmcr object of one or more derived parameters use mcmc_derive(). By default the current parameter is call par and the derived one is called new_par.
## S3 method for class 'mcmc_data'
mcmc_derive_data(
object,
expr = "new_par <- par",
values = list(),
parameter = "par",
monitor = "new_par",
parallel = FALSE,
silent = getOption("mcmcderive.silent", FALSE),
...
)
object |
An mcmc_data object |
expr |
A string of the R expression. |
values |
A named list of values for objects not in object$data |
parameter |
A string of the name of the current MCMC samples in expr. |
monitor |
A string of the name of the derived parameter to return. |
parallel |
A flag specifying whether to generate the derived parameters for each chain in parallel. |
silent |
A flag specifying whether to suppress messages and warnings. |
... |
Unused. |
An mcmc_data object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.