summary.rv {rv} | R Documentation |
Gives a numerical summary of the random variable.
## S3 method for class 'rv': summary(object, ...) ## S3 method for class 'rvfactor': summary(object, all.levels=FALSE, ...) ## S3 method for class 'rvmixed': summary(object, all.levels=FALSE, ...)
object |
object to summarize |
all.levels |
show summary for all levels even if there are too many to display in one line |
... |
rv object |
Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman
Kerman, Jouni and Gelman, Andrew. Manipulating and summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.
x <- rvarray(rvnorm(6), c(2,3)) summary(x) summary(rvfactor(trunc(x)))