Density curve layer

geom_density(
  mapping = NULL,
  data = NULL,
  color = NULL,
  alpha = NULL,
  linewidth = NULL,
  adjust = 1
)

Arguments

mapping, data, color, alpha

As in geom_point(); map only x.

linewidth

Curve stroke width.

adjust

Bandwidth multiplier.

Value

A Layer.