Learn R Programming

riskRegression (version 2020.02.05)

coxStrataLevel: Returns the name of the strata in Cox model

Description

Return the name of the strata in Cox model

Usage

coxStrataLevel(object)

# S3 method for coxph coxStrataLevel(object)

# S3 method for cph coxStrataLevel(object)

# S3 method for phreg coxStrataLevel(object)

Arguments

object

The fitted Cox regression model object either obtained with coxph (survival package), cph (rms package), or phreg (mets package).