colShuffle: Column and row-wise Shuffle

View source: R/permutation_combination.R

Column and row-wise ShuffleR Documentation

Column and row-wise Shuffle

Description

Column and row-wise shuffle of a matrix.

Usage

colShuffle(x)
rowShuffle(x)

Arguments

x

A matrix or data.frame with the data.

Details

The functions is written in C++ in order to be as fast as possible.

Value

A vector with the column/row Shuffle.

Author(s)

R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.

See Also

Median, colVars, colMeans (buit-in R function)

Examples

x <- matrix( rnorm(100 * 100), ncol = 100 )
colShuffle(x)
rowShuffle(x)

x<-NULL

Rfast documentation built on Nov. 9, 2023, 5:06 p.m.