coxVariableName {riskRegression} | R Documentation |
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, model.frame)
Arguments
object |
The fitted Cox regression model object either
obtained with |
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 |
Author(s)
Brice Ozenne broz@sund.ku.dk
[Package riskRegression version 2023.12.21 Index]