logistic_models_val: Validation of logistic regression results of multiple models

View source: R/logistic_models_val.R

logistic_models_valR Documentation

Validation of logistic regression results of multiple models

Description

Validation of logistic regression results of multiple models

Usage

logistic_models_val(
  data,
  outcome,
  models,
  n.aic = 10,
  n.bic = 10,
  fold = 10,
  repeats = 100,
  boot.repeat = 1000
)

Arguments

data

a dataframe to be used

outcome

binary outcome variable

models

logistic regression models

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

Value

data.frame object


nephroj/medutils documentation built on Feb. 3, 2024, 8:33 a.m.