| Title: | Plot the Histogram of a Numeric Vector |
| Version: | 0.1.0 |
| 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. |
| URL: | https://github.com/frederikziebell/gghist |
| License: | GPL (≥ 3) |
| Encoding: | UTF-8 |
| RoxygenNote: | 7.2.3 |
| Imports: | ggplot2 |
| Suggests: | spelling |
| Language: | en-US |
| NeedsCompilation: | no |
| Packaged: | 2023-04-15 07:18:28 UTC; frederik |
| Author: | Frederik Ziebell |
| Maintainer: | Frederik Ziebell <frederik.ziebell@gmail.com> |
| Repository: | CRAN |
| Date/Publication: | 2023-04-18 13:40:05 UTC |
gghist: 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.
Author(s)
Maintainer: Frederik Ziebell frederik.ziebell@gmail.com (ORCID)
See Also
Useful links:
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)