as.list.quantitiesR Documentation

Coerce to a List

Description

S3 method for quantities objects (see as.list).

Usage

## S3 method for class 'quantities'
as.list(x, ...)

Arguments

x

object to be coerced or tested.

...

objects, possibly named.

Examples

x <- set_quantities(1:3, m/s, 0.1)
as.list(x)