R/gg_gt.R
density.Rd
Density plot
density(df, var, color, facets, binwidth = 0.1)
df
var
color var
facets var
binwidth
ggplot2 density plot
ggplot2::diamonds |> density(carat) ggplot2::diamonds |> density(carat, cut) ggplot2::diamonds |> density(carat, cut, clarity)