Description Usage Arguments Value Examples
Tidy column names
1 | tidy_column_names(tbl, pattern = "[-() /:%.?]", replacement = "_")
|
tbl |
Table where collumn names should be tidied |
pattern |
What charcters should be removed |
replacement |
Repclament character |
The cleaned table
1 2 3 4 | fruits <- c("Pear", "Apple", "n.a", "X")
veggies <- c("Cauliflower", "X", "Carrot", "n.a")
d <- data.frame(veggies,fruits)
d <- waRRior::tidy_missing_values(d, c("n.a", "X"), c("veggies", "fruits"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.