hist.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"), freq = FALSE, ... )
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 |
freq |
logical; if |
... |
Other arguments passed on to hist |
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 <- rvnorm(30) hist(x) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.