Learn R Programming

RGS (version 1.0)

find_cutoffs_cox: Find symmetric cutoffs This function finds symmetric cutoff points for a specified variable using Cox regression.

Description

Find symmetric cutoffs This function finds symmetric cutoff points for a specified variable using Cox regression.

Usage

find_cutoffs_cox(my_data, variable_name)

Value

A dataframe containing the symmetric cutoffs and their corresponding predicted log hazard ratios.

Arguments

my_data

A dataframe containing the data.

variable_name

A character string specifying the name of the variable for which to find cutoffs.