basehaz | R Documentation |
Make [survival::basehaz()]
available for coxnet
objects.
basehaz(fit, ...)
## S3 method for class 'coxph'
basehaz(fit, centered = TRUE, ...)
## S3 method for class 'cv.glmnet'
basehaz(
fit,
x,
y,
s = c("lambda.1se", "lambda.min"),
times = NULL,
centered = TRUE,
...
)
## S3 method for class 'coxnet'
basehaz(fit, x, y, s = NULL, times = NULL, centered = TRUE, ...)
fit |
fitted model. |
... |
further arguments passed to |
centered |
|
x |
|
y |
|
s |
|
times |
|
data.frame
with variable names hazard
, time
and optionally
strata
.
Sebastian Gibb
survival::basehaz()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.