powered by
Creates histograms if the data has continuous variables.
ds_plot_histogram(data, ..., bins = 5, fill = "blue", print_plot = TRUE)
A data.frame or tibble.
data.frame
tibble
Column(s) in data.
data
Number of bins in the histogram.
Color of the histogram.
logical; if TRUE, prints the plot else returns a plot object.
TRUE
# 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