histkdnc {descr} | R Documentation |
Plots a histogram with kernel density and normal curve.
histkdnc(v, breaks = 0, include.lowest = TRUE, right = TRUE, main = "Histogram with kernel density and normal curve", xlab = deparse(substitute(v)), col = grey(0.90), col.cur = c("red", "blue"), lty.cur = c(1, 1), xlim = NULL, ylim = NULL, ...)
v |
The object from which the histogram is desired. |
breaks |
See hist. |
include.lowest |
See hist. |
right |
See hist. |
main |
See hist. |
xlab |
See hist. |
col |
See hist. |
col.cur |
Vector of size two with the colors of, respectively, kernel density and normal curve. |
lty.cur |
Vector of size two with line type of, respectively, kernel density and normal curve. |
xlim |
See plot.default and hist. |
ylim |
See plot.default and hist. |
... |
Further arguments to be passed to hist. |
The function plots a histogram of the object x
with its kernel density
and a normal curve with the same mean and standard deviation of x
.
NULL.
Dirk Enzmann (modified by Jakson Aquinojalvesaq@gmail.com).