as.RdThese functions convert coxnet objects into popular survival objects like
survival::coxph or rms::cph.
as.coxph(object, ...) # S3 method for rcv.glmnet as.coxph(object, s, x, y, ...) # S3 method for coxnet as.coxph(object, s, x, y, ...) as.cph(object, ...) # S3 method for rcv.glmnet as.cph(object, s, x, y, ...) # S3 method for 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