zero | R Documentation |
Zeros an MCMC object's sample values.
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, ...)
x |
The MCMC object. |
... |
Unused. |
pars |
A character vector (or NULL) of the pars to zero. |
It is used for removing the effect of a random effect where the expected value is 0.
The MCMC
zero(mcarray)
: Zero an mcarray object
zero(mcmcarray)
: Zero an mcmcarray object
zero(mcmcr)
: Zero an mcmcr object
zero(mcmcr_example, pars = "beta")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.