Learn R Programming

riskRegression (version 2018.04.21)

coxVariableName: Extract variable names from a model

Description

Extract the name of the variables belonging to the linear predictor or used to form the strata

Usage

coxVariableName(object)

Arguments

object

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