partition (version 0.1.0)

permute_df: Permute a data set

Description

permute_df() permutes a data set: it randomizes the order within each variable, which breaks any association between them. Permutation is useful for testing against null statistics.

Usage

permute_df(.data)

Arguments

.data

a data.frame

Value

a permuted data.frame

Examples

Run this code
# NOT RUN {
permute_df(iris)
# }

Run the code above in your browser using DataCamp Workspace