histdn | R Documentation |
histd
is just a shortcut to hist
passing it some default values, with a Gaussian curve of normal approximation
superposed onto it.
histdn(x, breaks = 100,
col = "gray", coln = "red",
main = NULL, xlab = NULL,
...)
x |
a vector of values for which the histogram is desired |
breaks |
histogram |
col |
a color to fill the bars, defaults to gray, see |
coln |
a color of normal density estimate |
main |
|
xlab |
|
... |
other parameters to |
an object of class histogram
, see hist
Tomas Sieger
histdn(rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.