ds_plot_histogram | R Documentation |
Creates histograms if the data has continuous variables.
ds_plot_histogram(data, ..., bins = 5, fill = "blue", print_plot = TRUE)
data |
A |
... |
Column(s) in |
bins |
Number of bins in the histogram. |
fill |
Color of the histogram. |
print_plot |
logical; if |
# plot single variable
ds_plot_histogram(mtcarz, mpg)
# plot multiple variables
ds_plot_histogram(mtcarz, mpg, disp, hp)
# plot all variables
ds_plot_histogram(mtcarz)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.