View source: R/plotHistogram.R
plotHistogram | R Documentation |
Plot the histogram and density of the variable
plotHistogram(var, varName = "Variable", density = TRUE, ...)
var |
(float) vector of values to plot |
varName |
(str) Name of the variable to plot |
density |
(bool) If TRUE plot overlay the density on the variable |
... |
Passes arguments to ggplot2::geom_histogram, e.g. |
Grob (ggplot object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.