l_dens1D {mgcViz}R Documentation

Adding density estimate to a plot

Description

This layer adds a density estimate to a plot. It is mainly a wrapper around ggplot2::geom_density.

Usage

l_dens1D(...)

Arguments

...

graphical arguments to be passed to ggplot2::geom_density.

Value

An object of class gamLayer.

See Also

See check0D for examples.


[Package mgcViz version 0.1.11 Index]