Learn R Programming

descr (version 0.3.0)

histkdnc: Histogram with kernel density and normal curve

Description

Plots a histogram with kernel density and normal curve.

Usage

histkdnc(v, breaks = 0, include.lowest = T, right = T,
  main = "Histogram with kernel density and normal curve",
  col = grey(0.90), xlab = deparse(substitute(v)), ...)

Arguments

v
The object from which the histogram is desired.
breaks
See hist.
include.lowest
See hist.
right
See hist.
main
See hist.
col
See hist.
xlab
See hist.
...
Further arguments to be passed to hist.

Value

  • NULL.

Details

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.