as.list.quantities: Coerce to a List

View source: R/misc.R

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)


quantities documentation built on Sept. 11, 2024, 7:19 p.m.