Description Usage Arguments Value Examples
In many cases it may be preferable to use the tidyverse version of 'mutate_if(is.character, trimws)'. This provides the same functionality.
1 |
df |
A data.frame |
A data.frame with whitespace trimmed from characters columns.
1 2 | x <- data.frame("a" = c(" Wilbur ", "Charlotte A. Cavatica ", " Fern Arable ", " Templeton "), "b" = 1:4)
trim.white(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.