tidy_unwanted_characters: Tidy unwanted characters in column

Description Usage Arguments Value Examples

View source: R/tma.R

Description

Tidy unwanted characters in column

Usage

1
tidy_unwanted_characters(tbl, value, colums)

Arguments

tbl

The table to be cleaned

value

The character to be removed

colums

The columns to be cleaned

Value

The cleaned table

Examples

1
2
3
4
5
fruits <- c("Pear", "Apple", "n.a", "X")
veggies <- c("Cauliflower", "X", "Carrot", "n.a")
d <- data.frame(veggies,fruits)
colnames(d) <- c("() ", "//-")
d <- waRRior::tidy_column_names(d)

joelgsponer/waRRior2 documentation built on Feb. 22, 2020, 3:34 a.m.