Description Usage Arguments Value Examples
View source: R/remove-equiv-columns.r
Find the equivalant columns of a data.frame. Keep the first remove the rest.
1 | remove_equiv_columns(x, keep_cols = character(), verbose = FALSE)
|
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) |
a data frame where redundant columns have been dropeed.
1 2 | iris$Sepal.Length2 <- 3 * iris$Sepal.Length + 3
remove_equiv_columns(iris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.