| as.coxph | R Documentation |
These functions convert coxnet objects into popular survival objects like
survival::coxph or rms::cph.
as.coxph(object, ...) ## S3 method for class 'rcv.glmnet' as.coxph(object, s, x, y, ...) ## S3 method for class 'coxnet' as.coxph(object, s, x, y, ...) as.cph(object, ...) ## S3 method for class 'rcv.glmnet' as.cph(object, s, x, y, ...) ## S3 method for class 'coxnet' as.cph(object, s, x, y, time.inc = 30, ...)
object |
object that should be converted. |
... |
further arguments passed to the underlying function
( |
s |
|
x |
|
y |
response as in |
time.inc |
|
Sebastian Gibb
glmnet::glmnet()
rms::cph()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.