Learn R Programming

descriptr (version 0.5.0)

ds_plot_density: Generate density plots

Description

Creates density plots if the data has continuous variables.

Usage

ds_plot_density(data, ..., color = "blue")

Arguments

data

A data.frame or tibble.

...

Column(s) in data.

color

Color of the plot.

Examples

Run this code
# 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