Subset an MCmcmc object
# S3 method for MCmcmc
subset(x, subset = NULL, allow.repl = FALSE, chains = NULL, ...)
object to be subsetted.
Numerical, character or list giving the variables to keep.
If numerical, the variables in the MCmcmc
object with
these numbers are selected. If character, each element of the
character vector is "grep"ed against the variable names, and
the matches are selected to the subset. If a list each element
is used in turn, numerical and character elements can be mixed.
Logical. Should duplicate columns be allowed in the result?
Numerical vector giving the number of the chains to keep.
further arguments to be passed to or from other methods.