gghist {gghist}R Documentation

Plot the histogram of a numeric vector

Description

This is a wrapper around ggplot2::geom_histogram() to display the histogram of a numeric vector

Usage

gghist(x, ...)

Arguments

x

A numeric vector

...

Other arguments passed on to geom_histogram()

Value

A ggplot object

Examples

x <- rnorm(100)
gghist(x, bins = 20)

[Package gghist version 0.1.0 Index]