as.matrix.quantities {quantities} | R Documentation |
Coerce to a Matrix
Description
S3 method for quantities
objects (see as.matrix
).
Usage
## S3 method for class 'quantities'
as.matrix(x, ...)
Arguments
x |
an R object. |
... |
additional arguments to be passed to or from methods. |
Examples
as.matrix(set_quantities(1:3, m/s, 0.1))
[Package quantities version 0.2.2 Index]