Prints a summary of the random variable object.

# 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

Author

Jouni Kerman jouni@kerman.com

Examples


  print(rvnorm(mean = rvnorm(1)))
#>     mean  sd   1% 2.5%   25%  50% 75% 97.5% 99% sims
#> [1] 0.17 1.4 -2.8 -2.3 -0.75 0.13 1.1   2.8 3.1  200