ds_plot_density | R Documentation |
Creates density plots if the data has continuous variables.
ds_plot_density(data, ..., color = "blue", print_plot = TRUE)
data |
A |
... |
Column(s) in |
color |
Color of the plot. |
print_plot |
logical; if |
# plot single variable
ds_plot_density(mtcarz, mpg)
# plot multiple variables
ds_plot_density(mtcarz, mpg, disp, hp)
# plot all variables
ds_plot_density(mtcarz)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.