View source: R/add_whitespace.R
add_whitespace | R Documentation |
Randomly add whitespaces to the end of some values in all or a subset of columns.
add_whitespace(data, cols = NULL, messiness = 0.1)
data |
input dataframe |
cols |
set of columns to apply transformation to. If |
messiness |
Percentage of values to change. Must be between 0 and 1. Default 0.1. |
a dataframe the same size as the input data.
add_whitespace(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.