evaluate_model_cox: Evaluate model with cutoffs Evaluates the model by creating...

View source: R/cox.R

evaluate_model_coxR 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.


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

Related to evaluate_model_cox in RGS...