Description Usage Arguments Value Examples
View source: R/Multi_Value_Columns.R
Extract columns from a data frame that have more than one unique value.
1 |
df |
An object inheriting from a |
The columns of df
that have more than one unique value.
1 2 3 4 5 | multi_val_cols(data.frame(a = c(1, 1, 1), b = c("a", "a", "a")))
multi_val_cols(data.frame(a = c(1, 1, 1), b = c(1, 2, 3),
c = c('a', 'a', 'a'), d = c('a', 'a', 'b')))
multi_val_cols(data.frame(a = c(1, 1, 3), b = c(1, 2, 3),
c = c('a', 'b', 'a'), d = c('a', 'a', 'b')))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.