View source: R/package_functions.R
cumhaz.var | R Documentation |
cumhaz.var
estimates the cumulative-hazard function variance using Greenwood's
formula for a survfit
object containing estimated survival curves.
cumhaz.var(survi)
survi |
a |
A numeric vector.
library(survival)
fit <- survfit(Surv(stop, event) ~ 1, data=bladder)
cumhaz.var(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.