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 object.
Unused.
A character vector (or NULL) of the pars to zero.
The MCMC
mcarray: Zero an mcarray object
mcarray
mcmcarray: Zero an mcmcarray object
mcmcarray
mcmcr: Zero an mcmcr object
mcmcr
It is used for removing the effect of a random effect where the expected value is 0.
# NOT RUN { zero(mcmcr_example, pars = "beta") # }
Run the code above in your browser using DataLab