vector_hist: Quickly make a ggplot histogram from a single vector

View source: R/vector_hist.R

vector_histR Documentation

Quickly make a ggplot histogram from a single vector

Description

Quickly make a ggplot histogram from a single vector

Usage

vector_hist(.data, 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

rnorm(1000, 0, 1) %>% vector_hist()



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