Learn R Programming

brif (version 1.4.1)

stratpar: Stratified permutation of rows by the first column

Description

Stratified permutation of rows by the first column

Usage

stratpar(x, stride)

Value

a data frame, which is a permutation of x

Arguments

x

a data frame to be permuted by row

stride

an integer indicating how many rows are to be groups in one block