View source: R/duplicate_rows.R
duplicate_rows | R Documentation |
Duplicate rows and insert them into the dataframe in order or at random
duplicate_rows(data, messiness = 0.1, shuffle = FALSE)
data |
input dataframe |
messiness |
Percentage of rows to duplicate. Must be between 0 and 1. Default 0.1. |
shuffle |
Insert duplicated data underneath original data or insert randomly |
A dataframe with duplicated rows inserted
Philip Leftwich
duplicate_rows(mtcars, messiness = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.