plot_density {daltoolbox} | R Documentation |
plot density
Description
plot density
Usage
plot_density(
data,
label_x = "",
label_y = "",
colors = NULL,
bin = NULL,
alpha = 0.25
)
Arguments
data |
data.frame contain x, value, and variable |
label_x |
x-axis label |
label_y |
y-axis label |
colors |
color vector |
bin |
bin width |
alpha |
level of transparency |
Value
ggplot graphic
Examples
grf <- plot_density(iris |> dplyr::select(Sepal.Width), colors="blue")
plot(grf)
[Package daltoolbox version 1.0.767 Index]