hist.rv {rv} | R Documentation |
hist.rv
shows a grid of histograms generated
from random draws of the random vector argument.
## S3 method for class 'rv': hist(x, grid = c(4, 5), xlim = x.range, main = paste(xname, "simulation"), ...)
x |
an object |
grid |
a vector of two numbers, indicating the size of the grid to plot the histograms |
xlim |
x limits |
main |
main title |
... |
Other arguments passed on to hist |
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 <- rvnorm(30) hist(x)