Column and row-wise Shuffle {Rfast} | R Documentation |
Column and row-wise shuffle of a matrix.
colShuffle(x)
rowShuffle(x)
x |
A matrix or data.frame with the data. |
The functions is written in C++ in order to be as fast as possible.
A vector with the column/row Shuffle.
R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.
Median, colVars, colMeans (buit-in R function)
x <- matrix( rnorm(100 * 100), ncol = 100 )
colShuffle(x)
rowShuffle(x)
x<-NULL