gghist: Make a ggplot histogram

Description Usage Arguments Value Examples

View source: R/gghist.R

Description

Creates a ggplot histogram that indicates the position of the mean and median and displays the standard deviation.

Usage

1
gghist(data, variable)

Arguments

data

A tibble or dataframe.

variable

The column name inside data that will be made into a histogram.

Value

Produces a ggplot histogram with mean, median and standard deviation indicated on the plot.

Examples

1
gghist(iris, Sepal.Length)

UBC-MDS/ggexpress documentation built on March 29, 2020, 9:13 p.m.