Column and row-wise Shuffle
Column and row-wise shuffle of a matrix.
colShuffle(x) rowShuffle(x)
x |
A matrix 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>.
x <- matrix( rnorm(100 * 100), ncol = 100 ) system.time( colShuffle(x) ) system.time( rowShuffle(x) ) x<-NULL
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.