Learn R Programming

eRm (version 1.0-1)

summary.RSmpl: Summary Methods for Sample Objects

Description

Prints a summary list for sample objects of class RSmpl and RSmplext.

Usage

# S3 method for RSmpl
summary(object, ...)
# S3 method for RSmplext
summary(object, ...)

Arguments

object

object as obtained from rsampler or rsextrobj

potential further arguments (ignored)

Details

Describes the status of an sample object.

See Also

rsampler, rsextrobj

Examples

Run this code
# NOT RUN {
ctr <- rsctrl(burn_in = 10, n_eff = 3, step=10, seed = 0, tfixed = FALSE)
mat <- matrix(sample(c(0,1), 50, replace = TRUE), nr = 10)
all_m <- rsampler(mat, ctr)
summary(all_m)

some_m <- rsextrobj(all_m, 1, 2)
summary(some_m)
# }

Run the code above in your browser using DataLab