coxVariableName: Extract variable names from a model

Description Usage Arguments Author(s)

View source: R/getCoxInfo.R

Description

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

Usage

1

Arguments

object

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

model.frame

[data.frame] dataset containing all the relevant variables (entry, time to event, type of event, variables in the linear predictor, strata). Output from coxModelFrame.

Author(s)

Brice Ozenne broz@sund.ku.dk


riskRegression documentation built on Jan. 13, 2021, 11:12 a.m.