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] (ORCID: <https://orcid.org/0000-0003-3673-1721>)
Maintainer: Frederik Ziebell <[email protected]>
License: GPL (>= 3)
Version: 0.1.0
Built: 2026-05-22 10:00:35 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)