plot_density | R Documentation |
plot density
plot_density(
data,
label_x = "",
label_y = "",
colors = NULL,
bin = NULL,
alpha = 0.25
)
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 |
ggplot graphic
grf <- plot_density(iris |> dplyr::select(Sepal.Width), colors="blue")
plot(grf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.