Learn R Programming

RGS (version 1.0)

find_best_combination_cox: Find best combination of cutoffs Searches for the best combination of cutoffs that minimizes the Akaike Information Criterion (AIC).

Description

Find best combination of cutoffs Searches for the best combination of cutoffs that minimizes the Akaike Information Criterion (AIC).

Usage

find_best_combination_cox(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.