powered by
Adds any absent elements to an mcmc object.
# S3 method for mcmc complete_terms(x, silent = FALSE, ...)
The repaired and complete mcmc object.
An mcmc object.
A flag specifying whether to suppress warning messages.
Unused.
The terms are repaired before being completed. Missing or invalid or inconsistent terms are dropped with a warning.
mcmc <- as_mcmc(nlist(beta = matrix(1:4, nrow = 2))) mcmc <- mcmc[, -4, drop = FALSE] complete_terms(mcmc)
Run the code above in your browser using DataLab