Matrix Transpose
DESCRIPTION:
Returns a matrix which is the transpose of the input.
This is a generic function.
USAGE:
t(x)
t.default(x)
REQUIRED ARGUMENTS:
- x
-
matrix.
Missing values (
NA
s) are allowed.
VALUE:
transpose of
x
(rows of
x
are columns of the result,
so that
t(x)[j, i]
is the same as
x[i, j]
).
SEE ALSO:
for the generalized transpose
of arrays.
for the inverse of a matrix.
EXAMPLES:
amat <- author.count[1:2,]
t(amat)