Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

units (version 0.4-5)

hist.units: histogram for unit objects

Description

histogram for unit objects

Usage

# S3 method for 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

Run this code
# NOT RUN {
units_options(parse = FALSE) # otherwise we break on the funny symbol!
u = rnorm(100) * make_unit("<U+00B0>C")
hist(u)
# }

Run the code above in your browser using DataLab