| zerovar | R Documentation |
This function detects which columns have the same value (whichever) for each column.
zerovar(df)
df |
Dataframe |
Character vector with column names on which its values have no variance.
Other Data Wrangling:
balance_data(),
categ_reducer(),
cleanText(),
date_cuts(),
date_feats(),
file_name(),
formatHTML(),
holidays(),
impute(),
left(),
normalize(),
num_abbr(),
ohe_commas(),
ohse(),
quants(),
removenacols(),
replaceall(),
replacefactor(),
textFeats(),
textTokenizer(),
vector2text(),
year_month()
df <- data.frame(a = c(1, NA, 3), b = rep(NA, 3), c = rep(5, 3))
print(df)
zerovar(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.