logistic_val | R Documentation |
Validation of logistic regression results with the combiation of variables
logistic_val(
data,
outcome,
vars,
auc.cutoff = 0.65,
n.aic = 10,
n.bic = 10,
fold = 10,
repeats = 100,
boot.repeat = 1000,
maxvar = ceiling(min(table(data[[outcome]])) * 0.1) + 2
)
data |
a dataframe to be used |
outcome |
binary outcome variable |
vars |
predictor variables |
auc.cutoff |
cut-off value of AUC |
n.aic |
number of the combination to be showed (arranged by AIC values) |
n.bic |
number of the combination to be showed (arranged by BIC values) |
fold |
cross-validation fold number |
repeats |
cross-validation repeat number |
boot.repeat |
boot-strap repeat number |
maxvar |
maximum number of variables |
data.frame object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.