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)