View source: R/permutation_combination.R

Column and row-wise Shuffle | 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
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.