Learn R Programming

RGS (version 1.0)

find_best_combination_logistic: Find best combination of cutoffs for logistic regression

Description

This function searches for the best combination of cutoffs that minimizes the Akaike Information Criterion (AIC).

Usage

find_best_combination_logistic(my_data, cutoffs_list, formula)

Value

A dataframe containing the optimal cutoff values and the AIC value.

Arguments

my_data

A dataframe containing the data.

cutoffs_list

A list of dataframes containing the cutoffs for each variable.

formula

An object of class "formula" describing the model structure.