Description Usage Arguments Value See Also Examples
Creates an histogram and frequency polygon or a cummulative frequency polygon.
1 |
x |
a numerical vector. |
nclass |
a character string. Method for calculation of the number of classes from a numerical random variable. |
density |
logical; if TRUE, the histogram graphic is a representation of frequencies, the counts component of the result; if FALSE, probability densities, component density, are plotted (so that the histogram has a total area of one). |
cfp |
logical, indicating if the plot is an histogram and frequency polygon or a cummulative frequency polygon. |
A ggplot2 object.
hist
, geom_histogram
, geom_freqpoly
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.