Skip to contents

boxplot for unit objects

Usage

# S3 method for units
boxplot(x, ..., horizontal = FALSE)

Arguments

x

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

...

parameters passed on to boxplot.default

horizontal

logical indicating if the boxplots should be horizontal; default FALSE means vertical boxes.

Examples

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