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 |
This is a wrapper around ggplot2::geom_histogram()
to display the histogram of a numeric vector
gghist(x, ...)
gghist(x, ...)
x |
A numeric vector |
... |
Other arguments passed on to geom_histogram() |
A ggplot object
x <- rnorm(100) gghist(x, bins = 20)
x <- rnorm(100) gghist(x, bins = 20)