| NA_rm_for_glm | R Documentation |
Removing of all NAs and change the dataframe if too many rows are deleted
NA_rm_for_glm(
DF,
y = colnames(DF)[1],
EPV = 0,
min_explicatives = 0.1 * (ncol(DF)),
floor_pval = 1,
verbose = TRUE,
method_NA = c("lessNA", "significance"),
keep = FALSE,
kNN = NULL,
rf = NULL,
median = NULL,
mean = NULL,
NA_as_level = NULL
)
DF |
: the dataframe |
y |
: the variable to explain |
EPV |
: the event-per-variable threeshold. |
keep |
: the variable(s) to keep whathever are its significance and number of NA |
imputed_variables |
: variables to be imputed if imputed method is selected in 'method_NA'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.