find_best_combination_cox: Find best combination of cutoffs Searches for the best...

View source: R/cox.R

find_best_combination_coxR Documentation

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)

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.

Value

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


RGS documentation built on April 4, 2025, 1:08 a.m.