Learn R Programming

quantities (version 0.2.2)

t.quantities: Matrix Transpose

Description

S3 method for quantities objects (see t).

Usage

# S3 method for quantities
t(x)

Arguments

x

a matrix or data frame, typically.

Examples

Run this code
a <- matrix(1:30, 5, 6)
quantities(a) <- list("m/s", 1:30)
t(a)

Run the code above in your browser using DataLab