S3 method for quantities
objects (see as.matrix
).
Usage
# S3 method for class 'quantities'
as.matrix(x, ...)
Examples
as.matrix(set_quantities(1:3, m/s, 0.1))
#> Units: [m/s]
#> Errors: 0.1 0.1 0.1
#> [,1]
#> [1,] 1
#> [2,] 2
#> [3,] 3