Description Usage Arguments Details Value Note References See Also Examples
Given a matrix or data.frame
x
,
t
returns the transpose of x
.
1 | t(x)
|
x |
a matrix or data frame, typically. |
This is a generic function for which methods can be written. The
description here applies to the default and "data.frame"
methods.
A data frame is first coerced to a matrix: see as.matrix
.
When x
is a vector, it is treated as a column, i.e., the
result is a 1-row matrix.
A matrix, with dim
and dimnames
constructed
appropriately from those of x
, and other attributes except
names copied across.
The conjugate transpose of a complex matrix A, denoted
A^H or A^*, is computed as Conj(t(A))
.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
aperm
for permuting the dimensions of arrays.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.