subset: Subset an MCmcmc object

Description Usage Arguments

Description

Subset an MCmcmc object

Usage

1
2
## S3 method for class 'MCmcmc'
subset(x, subset = NULL, allow.repl = FALSE, chains = NULL, ...)

Arguments

x

object to be subsetted.

subset

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.

allow.repl

Logical. Should duplicate columns be allowed in the result?

chains

Numerical vector giving the number of the chains to keep.

...

further arguments to be passed to or from other methods.


MethComp documentation built on Jan. 20, 2020, 1:12 a.m.

Related to subset in MethComp...