shrink {rube}R Documentation

Thin and/or drop more burn-in iterations and/or drop parameters from a rube object.

Description

Thin and/or drop more burn-in iterations and/or drop parameters from a rube object.

Usage

shrink(rubeObject, n.thin = 1, drop=0, chainsDropped=NULL, ignore=NULL, 
       keep=NULL, minimal=FALSE)

Arguments

rubeObject

A list of rube() objects.

n.thin

A thinning rate: every n.thin'th value is kept.

drop

Number of initial iterations to drop

chainsDropped

Chain numbers of chains to drop

ignore

A string vector of parameters to ignore (drop).

keep

A string vector of parameters to keep. If non-null, only these parameters are kept.

minimal

A logical value, where TRUE indicates dropping optional components from the result.

Details

Thin and/or drop more burn-in iterations and/or drop parameters and/or drop chains from a rube object.

Value

Returns a new rube object.

Author(s)

Howard J. Seltman <hseltman@stat.cmu.edu>

References

http://www.stat.cmu.edu/~hseltman/rube/

See Also

rube

Examples

cat("Need a good example!\n")

[Package rube version 0.3-11 Index]