coxModelFrame | R Documentation |
Extract the design matrix used to train a Cox model. Should contain the time of event, the type of event, the variable for the linear predictor, the strata variables and the date of entry (in case of delayed entry).
coxModelFrame(object, center)
## S3 method for class 'coxph'
coxModelFrame(object, center = FALSE)
## S3 method for class 'cph'
coxModelFrame(object, center = FALSE)
## S3 method for class 'phreg'
coxModelFrame(object, center = FALSE)
object |
The fitted Cox regression model object either
obtained with |
center |
[logical] Should the variables of the linear predictor be added ? |
Brice Ozenne broz@sund.ku.dk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.