zero {mcmcr} | R Documentation |
Zero MCMC sample values
Description
Zeros an MCMC object's sample values.
Usage
zero(x, ...)
## S3 method for class 'mcarray'
zero(x, ...)
## S3 method for class 'mcmcarray'
zero(x, ...)
## S3 method for class 'mcmcr'
zero(x, pars = NULL, ...)
Arguments
x |
The MCMC object. |
... |
Unused. |
pars |
A character vector (or NULL) of the pars to zero. |
Details
It is used for removing the effect of a random effect where the expected value is 0.
Value
The MCMC
Methods (by class)
-
mcarray
: Zero an mcarray object -
mcmcarray
: Zero an mcmcarray object -
mcmcr
: Zero an mcmcr object
Examples
zero(mcmcr_example, pars = "beta")
[Package mcmcr version 0.6.1 Index]