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.
permute_df()
permute_df(.data)
a data.frame
data.frame
a permuted data.frame
# NOT RUN { permute_df(iris) # }
Run the code above in your browser using DataCamp Workspace