Learn R Programming

quantities (version 0.1.2)

c.quantities: Combine Values into a Vector or List

Description

S3 method for quantities objects (see c).

Usage

# S3 method for quantities
c(...)

Arguments

...

objects to be concatenated.

Examples

Run this code
# NOT RUN {
c(set_quantities(1, m/s, 0.2), set_quantities(30, km/h, 0.1))

# }

Run the code above in your browser using DataLab