powered by
Zeros an MCMC object's sample values.
zero(x, ...)# S3 method for mcarray zero(x, ...)# S3 method for mcmcarray zero(x, ...)# S3 method for mcmcr zero(x, pars = NULL, ...)
# S3 method for mcarray zero(x, ...)
# S3 method for mcmcarray zero(x, ...)
# S3 method for mcmcr zero(x, pars = NULL, ...)
The MCMC
The MCMC object.
Unused.
A character vector (or NULL) of the pars to zero.
zero(mcarray): Zero an mcarray object
zero(mcarray)
zero(mcmcarray): Zero an mcmcarray object
zero(mcmcarray)
zero(mcmcr): Zero an mcmcr object
zero(mcmcr)
It is used for removing the effect of a random effect where the expected value is 0.
zero(mcmcr_example, pars = "beta")
Run the code above in your browser using DataLab