Learn R Programming

units (version 0.5-1)

Math.units: Mathematical operations for units objects

Description

Mathematical operations for units objects

Usage

# S3 method for units
Math(x, ...)

Arguments

x

object of class units

...

parameters passed on to the Math functions

Examples

Run this code
# NOT RUN {
a <- sqrt(1:10)
a <- set_units(a, m/s)
log(a)
log(a, base = 10)
cumsum(a)
signif(a, 2)
# }

Run the code above in your browser using DataLab