Learn R Programming

riskRegression (version 2018.04.21)

coxSpecialStrata: Special character for strata in Cox model

Description

Return the special character used to indicate the strata variables of the Cox model

Usage

coxSpecialStrata(object)

# S3 method for coxph coxSpecialStrata(object)

# S3 method for cph coxSpecialStrata(object)

# S3 method for phreg coxSpecialStrata(object)

Arguments

object

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