Description Usage Arguments Value Author(s) Examples
View source: R/select_unique.R
Select variables which contain at least two unique values
1 |
x |
data.frame or matrix - data for cleaning |
This function return a data.frame
or matrix
which contains columns with at leat two uniques
values.
Bartlomiej Karaban
1 2 3 | df <- data.frame(v1 = 1:4, v2 = 1, v3 = LETTERS[1:4], v4 = c(1, 1, NA, NA))
df_unq <- select_unique(df)
df; df_unq
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.