l_dens1D: Adding density estimate to a plot

View source: R/L_dens1D.R

l_dens1DR 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.


mfasiolo/mgcViz documentation built on April 19, 2024, 8:16 a.m.