| mcmc(coda) | R Documentation |
The function `mcmc' is used to create a Markov Chain Monte Carlo object. The data are taken to be a vector, or a matrix with one column per variable.
An mcmc object may be summarized by the summary function
and visualized with the plot function.
MCMC objects resemble time series (ts) objects and have
methods for the generic functions time, start,
end, frequency and window.
mcmc(data= NA, start = 1, end = numeric(0), thin = 1) as.mcmc(x) is.mcmc(x)
data |
a vector or matrix of MCMC output |
start |
the iteration number of the first observation |
end |
the iteration number of the last observation |
thin |
the thinning interval between consecutive observations |
Martyn Plummer
mcmc.list,
upgrade.mcmc,
thin,
window.mcmc,
summary.mcmc,
plot.mcmc.