coxLP | R Documentation |
Compute the linear predictor of a Cox model
coxLP(object, data, center)
## S3 method for class 'cph'
coxLP(object, data, center)
## S3 method for class 'coxph'
coxLP(object, data, center)
## S3 method for class 'phreg'
coxLP(object, data, center)
object |
The fitted Cox regression model object either
obtained with |
data |
a |
center |
should the linear predictor be computed after centering the covariates |
In case of empty linear predictor returns a vector of 0 with the same length as the number of rows of the dataset
Brice Ozenne broz@sund.ku.dk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.