Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hist.units

histogram for unit objects


Description

histogram for unit objects

Usage

## S3 method for class 'units'
hist(x, xlab = NULL, main = paste("Histogram of", xname), ...)

Arguments

x

object of class units, for which we want to plot the histogram

xlab

character; x axis label

main

character; title of histogram

...

parameters passed on to hist.default

Examples

units_options(parse = FALSE) # otherwise we break on the funny symbol!
u = set_units(rnorm(100), degree_C)
hist(u)

units

Measurement Units for R Vectors

v0.7-1
GPL-2
Authors
Edzer Pebesma [aut, cre] (<https://orcid.org/0000-0001-8049-7069>), Thomas Mailund [aut], Tomasz Kalinowski [aut], James Hiebert [ctb], Iñaki Ucar [aut] (<https://orcid.org/0000-0001-6403-5550>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.