Geom.density
Draw a kernel density estimate from data. An alias for Geom.line with Stat.density.
Aesthetics
x
: Sample to draw density estimate from.
Examples
plot(dataset("ggplot2", "diamonds"), x="Price", Geom.density)
plot(dataset("ggplot2", "diamonds"), x="Price", color="Cut", Geom.density)