
Last chance! 50% off unlimited learning
Sale ends in
Creates histograms if the data has continuous variables.
ds_plot_histogram(data, ..., bins = 5, fill = "blue",
print_plot = TRUE)
A data.frame
or tibble
.
Column(s) in data
.
Number of bins in the histogram.
Color of the histogram.
logical; if TRUE
, prints the plot else returns a plot object.
# NOT RUN {
ds_plot_histogram(mtcarz)
ds_plot_histogram(mtcarz, mpg)
ds_plot_histogram(mtcarz, mpg, disp, hp)
# }
Run the code above in your browser using DataLab