powered by
Creates density plots if the data has continuous variables.
ds_plot_density(data, ..., color = "blue", print_plot = TRUE)
A data.frame or tibble.
data.frame
tibble
Column(s) in data.
data
Color of the plot.
logical; if TRUE, prints the plot else returns a plot object.
TRUE
# NOT RUN { ds_plot_density(mtcarz) ds_plot_density(mtcarz, mpg) ds_plot_density(mtcarz, mpg, disp, hp) # }
Run the code above in your browser using DataLab