print.rv {rv}R Documentation

Print Distribution Summary of a Random Variable

Description

Prints a summary of the random variable object.

Usage

  ## S3 method for class 'rv':
  print(x, digits=NULL, ...)
  ## S3 method for class 'rvfactor':
  print(x, digits=NULL, ...)
  ## S3 method for class 'rvmixed':
  print(x, digits=NULL, ...)

Arguments

x an rv object
digits minimal number of significant digits, default rvpar('print.digits')
... further arguments passed to or from other methods

Details

Invokes first the summary method of the object, then prints the result.

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.

See Also

summary.rv

Examples

  print(rvnorm(mean=rvnorm(1)))

[Package rv version 0.949 Index]