histkdnc: Histogram with kernel density and normal curve

histkdncR Documentation

Histogram with kernel density and normal curve

Description

Plots a histogram with kernel density and normal curve.

Usage

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, ...) 

Arguments

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.

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.

Value

NULL.

Author(s)

Dirk Enzmann (modified by Jakson Aquinojalvesaq@gmail.com).


descr documentation built on Nov. 28, 2023, 1:10 a.m.