shuffle: shuffle elements of a randomly chosen row of x matrix

View source: R/doofa.R

shuffleR Documentation

shuffle elements of a randomly chosen row of x matrix

Description

shuffle elements of a randomly chosen row of x matrix

Usage

shuffle(x)

Arguments

x

a matrix

Value

a matrix with shuffled elements of a row

Examples

x = matrix(c(3,1,2, 1,2,3,1,3,2,2,1,3),ncol = 3, byrow = TRUE)
shuffle(x);

doofa documentation built on June 22, 2024, 7:39 p.m.

Related to shuffle in doofa...