gghist: Quickly make a ggplot histogram from a dataframe and variable...

View source: R/gghist.R

gghistR Documentation

Quickly make a ggplot histogram from a dataframe and variable name

Description

Quickly make a ggplot histogram from a dataframe and variable name

Usage

gghist(.data, var, bins = NULL)

Arguments

.data:

a vector of values, such as one returned by 'rnorm()'

bins:

how many bins the histogram uses. Defaults to ggplot's default

Value

a histogram ggplot object

Examples

mtcars %>% gghist(mpg)



MCMaurer/MCMsBasics documentation built on July 5, 2024, 11:38 p.m.