Description Usage Arguments Value Examples
This function displays the distribution of a single numeric variable through a histogram
1 |
data |
Default data set that supplies the data to generate the plot |
x |
Column that contains a vector of numbers to plot |
xlab |
Text that will be used for the title of the x axis |
bins |
Specify the number of bins. Defaults to 30 could change this value, exploring multiple numbers of bins to find the best to illustrate the stories in your data. |
na.rm |
A logical vector indicating whether NA values should be stripped before the computation proceeds. TRUE is the default. |
A histogram showing the distribution of x
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.