
Last chance! 50% off unlimited learning
Sale ends in
boxplot for unit objects
# S3 method for units
boxplot(x, ..., horizontal = FALSE)
object of class units, for which we want to plot the boxplot
parameters passed on to boxplot.default
logical indicating if the boxplots should be horizontal; default FALSE means vertical boxes.
# NOT RUN {
units_options(parse = FALSE) # otherwise we break on the funny symbol!
u = set_units(rnorm(100), degree_C)
boxplot(u)
# }
Run the code above in your browser using DataLab