summary.rv {rv}R Documentation

Summary of a Random Variable

Description

Gives a numerical summary of the random variable.

Usage

  ## S3 method for class 'rv':
  summary(object, ...)
  ## S3 method for class 'rvfactor':
  summary(object, all.levels=FALSE, ...)
  ## S3 method for class 'rvmixed':
  summary(object, all.levels=FALSE, ...)

Arguments

object object to summarize
all.levels show summary for all levels even if there are too many to display in one line
... rv object

Details

Author(s)

Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman

References

Kerman, Jouni and Gelman, Andrew. Manipulating and summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.

Examples

  x <- rvarray(rvnorm(6), c(2,3))
  summary(x)
  summary(rvfactor(trunc(x)))

[Package rv version 0.949 Index]