rv (version 2.3.4)

print.rv: Print Distribution Summary of a Random Variable

Description

Prints a summary of the random variable object.

Usage

# S3 method for rv
print(x, digits = rvpar("print.digits"), ...)

Arguments

x

an rv object

digits

minimal number of significant digits

further arguments passed to or from other methods

Details

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

References

Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Statistics and Computing 17:3, 235-244.

See also vignette("rv").

See Also

rvfactor

Examples

Run this code
# NOT RUN {
  print(rvnorm(mean = rvnorm(1)))

# }

Run the code above in your browser using DataLab