tis (version 1.37.1)

t.tis: Matrix Transpose

Description

Returns the transpose of as.matrix(x)

Usage

# S3 method for tis
t(x)

Arguments

x

a tis object. If x is univariate, it will be treated as if it were a single-column matrix, so it's transpose will be a single-row matrix.

Value

A matrix, see t. Note that this is not a time series.

See Also

t, tis

Examples

Run this code
# NOT RUN {
a <- tis(matrix(1:30, 5,6), start = latestMonth())
a
t(a)  ##i.e.,  a[i, j] == t(a)[j, i] for all i,j, and t(a) is NOT a time series
# }

Run the code above in your browser using DataCamp Workspace