make_histogram | R Documentation |
Create a histogram to display the distribution of a numeric variable.
make_histogram(data, num_var, bins = 30, title = "")
data |
dataset that contains the variables |
num_var |
name of the numeric variable as a string |
bins |
number of bins, default to 30 |
title |
title of the plot |
none
make_histogram(ggplot2::diamonds, "price")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.