plotHistogram {peakPantheR} | R Documentation

## Plot variable histogram and density

### Description

Plot the histogram and density of the variable

### Usage

    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)

[Package peakPantheR version 1.4.0 Index]