shuffle {pingers} | R Documentation |
Shuffle dataframe rows randomely
Description
Randomly reorder the rows of a dataframe
Usage
shuffle(data)
Arguments
data |
dataframe to shuffle |
Value
reordered dataframe
Examples
{
ordered_df <- tibble::tibble(V1=1:26,V2=letters)
shuffled_df <- shuffle(ordered_df)
}
[Package pingers version 0.1.1 Index]