evaluate_model_cox {RGS}R Documentation

Evaluate model with cutoffs Evaluates the model by creating exposure variables based on the cutoffs and fitting a Cox model.

Description

Evaluate model with cutoffs Evaluates the model by creating exposure variables based on the cutoffs and fitting a Cox model.

Usage

evaluate_model_cox(my_data, cutoffs, formula)

Arguments

my_data

A dataframe containing the data.

cutoffs

A list of dataframes containing the cutoffs for each variable.

formula

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

Value

A dataframe summarizing the model evaluation metrics.


[Package RGS version 1.0 Index]