Learn R Programming

lares (version 4.8.4)

zerovar: Zero Variance Columns

Description

This function quickly detectes which columns have the same value for each observation

Usage

zerovar(df)

Arguments

df

Dataframe

See Also

Other Tools: autoline(), bindfiles(), bring_api(), db_download(), db_upload(), export_plot(), export_results(), get_credentials(), h2o_predict_API(), h2o_predict_MOJO(), h2o_predict_binary(), h2o_predict_model(), h2o_selectmodel(), h2o_update(), haveInternet(), image_metadata(), importxlsx(), ip_country(), iter_seeds(), json2vector(), listfiles(), mailSend(), msplit(), myip(), pass(), quiet(), read.file(), statusbar(), tic(), try_require(), updateLares()

Examples

Run this code
# NOT RUN {
df <- data.frame(a = c(1, NA, 3), b = rep(NA, 3), c = rep(5, 3))
print(df)
zerovar(df)
# }

Run the code above in your browser using DataLab