Shuffle_sequence: Shuffle sequence of data

Description Usage Arguments Value Examples

View source: R/StatComp21088R.R

Description

Before using the algorithm, the data needs to be randomly shuffled to eliminate the impact of the data order.

Usage

1

Arguments

data

Data matrix after adding constant 1 column.

Value

New sequence random_sequence

Examples

1
2
3
4
5
6
7
## Not run: 
A = matrix(
c(1,1,1,1,1,2,3,4),4,2)
x <- Shuffle_sequence(A)
print(x)

## End(Not run)

Sakoylf/StatComp21088 documentation built on Dec. 23, 2021, 10:22 p.m.