remove_equiv_columns: Remove redundant equivalent columns

Description Usage Arguments Value Examples

View source: R/remove-equiv-columns.r

Description

Find the equivalant columns of a data.frame. Keep the first remove the rest.

Usage

1
remove_equiv_columns(x, keep_cols = character(), verbose = FALSE)

Arguments

x

a data.frame that may have repeated, equivalent columns.

keep_cols

a character vector of columsn that should be kept.

verbose

should information about dropped columns be printed? (default FALSE)

Value

a data frame where redundant columns have been dropeed.

Examples

1
2
iris$Sepal.Length2 <- 3 * iris$Sepal.Length + 3
remove_equiv_columns(iris)

presagia-analytics/normalizer documentation built on Dec. 12, 2019, 7:40 a.m.