gwTraspose | R Documentation |
Given a matrix or data.frame 'm', 'gwTraspose' returns the transpose of 'm'.
gwTraspose(m, byrow = FALSE)
m |
a matrix or data.frame, typically. |
byrow |
a boolean. Ordering by colums 'default=FALSE'. 'TRUE' order by rows |
A matrix, with dim and dimnames constructed appropriately from those of 'm', and other attributes except names copied across.
# matrix a <- matrix(1:28, 4, 7) gwTraspose(a, byrow=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.