summary.rv | R Documentation |
Gives a numerical summary of the random variable in the format of a data frame.
## S3 method for class 'rv' summary(object, ...)
object |
object to summarize |
... |
rv object |
all.levels |
show summary for all levels even if there are too many to display in one line |
The objects are first coerced to rvsummary
objects, then passed on to
the summary.rvsummary
method, which creates a nicely formatted data
frame of the object.
Jouni Kerman jouni@kerman.com
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")
.
## Not run: x <- rvarray(rvnorm(6), c(2,3)) summary(x) summary(as.rvsummary(x)) summary(rvfactor(trunc(x))) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.