Learn R Programming

riskRegression (version 2022.09.23)

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

Author

Brice Ozenne broz@sund.ku.dk