Debian Codegraph @

man/hist.units.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/plot.R
3 \name{hist.units}
4 \alias{hist.units}
5 \title{histogram for unit objects}
6 \usage{
7 \method{hist}{units}(x, xlab = NULL, main = paste("Histogram of", xname),
8 ...)
9 }
10 \arguments{
11 \item{x}{object of class units, for which we want to plot the histogram}
12
13 \item{xlab}{character; x axis label}
14
15 \item{main}{character; title of histogram}
16
17 \item{...}{parameters passed on to \link{hist.default}}
18 }
19 \description{
20 histogram for unit objects
21 }
22 \examples{
23 units_options(parse = FALSE) # otherwise we break on the funny symbol!
24 u = set_units(rnorm(100), degree_C)
25 hist(u)
26 }