Description Usage Arguments Details Examples
View source: R/CovariateSummary.R
This function allows you to explore the discriminatory power of covariates against a binary target, and summarizes the number of NA and 0 in each of the covariates.
1 | CovariateSummary(Target, DT, Skip = NULL)
|
Target |
A string of the name of target to be predicted. |
DT |
A data.table containing both the target and covariates. |
Skip |
A vector of strings containing the names of columns to be skipped. |
It returns a data.table containing the names of covariates, number of NA, number of 0, and Area Under the Curve (AUC).
1 | CovariateSummary(Target = "am", DT = mtcars, Skip = c("vs", "carb"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.