stat_density: 1d density estimation.

Description Usage Arguments Value See Also

Description

Groups containing three observations or less are silently dropped.

Usage

1
2
  stat_density(adjust = 1, kernel = "gaussian",
    bw = "nrd0", n = 512)

Arguments

adjust

see ?density for details

kernel

string giving kernel used for density estimation, see \code\linkdensity for details"

bw

the smoothing bandwidth to be used, or a character vector giving the name of an algorithm to calculate it automatically

n

number of points in output

Value

See Also

stat_bin for the histogram, density for details of the algorithm used


hadley/layers documentation built on May 17, 2019, 10:42 a.m.