cumhaz.var {optband} | R Documentation |
Variance of the cumulative-hazard function
Description
cumhaz.var
estimates the cumulative-hazard function variance using Greenwood's
formula for a survfit
object containing estimated survival curves.
Usage
cumhaz.var(survi)
Arguments
survi |
a |
Value
A numeric vector.
Examples
library(survival)
fit <- survfit(Surv(stop, event) ~ 1, data=bladder)
cumhaz.var(fit)
[Package optband version 0.2.2 Index]