plotHistogram: Plot variable histogram and density

Description Usage Arguments Value

View source: R/plotHistogram.R

Description

Plot the histogram and density of the variable

Usage

1
plotHistogram(var, varName = "Variable", density = TRUE, ...)

Arguments

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. bins=20, binwidth=1

Value

Grob (ggplot object)


peakPantheR documentation built on Nov. 8, 2020, 6:38 p.m.