Package 'gghist'

Title: Plot the Histogram of a Numeric Vector
Description: Wrapper around geom_histogram() of 'ggplot2' to plot the histogram of a numeric vector. This is especially useful, since qplot() was deprecated in 'ggplot2' 3.4.0.
Authors: Frederik Ziebell [aut, cre]
Maintainer: Frederik Ziebell <[email protected]>
License: GPL (>= 3)
Version: 0.1.0
Built: 2024-11-06 03:10:40 UTC
Source: https://github.com/frederikziebell/gghist

Help Index


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)