baseline | R Documentation |
coxtv
or coxtp
objectThe baseline estimation is the baseline hazard at each observed failure time when holding all the covariates to be zero.
baseline(fit)
fit |
model from |
A list with three components:
time |
the unique observed failure times. |
hazard |
the baseline hazard corresponding to each unique failure time point. |
cumulHaz |
the cumulative baseline hazard corresponding to each unique failure time point. |
data(ExampleData)
z <- ExampleData$z
time <- ExampleData$time
event <- ExampleData$event
fit <- coxtv(event = event, z = z, time = time)
base.est <- baseline(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.