Learn R Programming

rv (version 2.0.0)

print.rv: 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=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

summary.rv, rvfactor

Examples

Run this code
print(rvnorm(mean=rvnorm(1)))

Run the code above in your browser using DataLab