Creates histograms if the data has continuous variables.

ds_plot_histogram(data, ..., bins = 5, fill = "blue")

Arguments

data

A data.frame or tibble.

...

Column(s) in data.

bins

Number of bins in the histogram.

fill

Color of the histogram.

Examples

ds_plot_histogram(mtcarz)
ds_plot_histogram(mtcarz, mpg)
ds_plot_histogram(mtcarz, mpg, disp, hp)