Skip to contents

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)
#> [[1]]
#> 1.0(1) [m/s]
#> 
#> [[2]]
#> 2.0(1) [m/s]
#> 
#> [[3]]
#> 3.0(1) [m/s]
#>