Quantiles for Kaplan-Meier estimates
DESCRIPTION:
Compute quantiles for a Kaplan-Meier estimate.
USAGE:
qkaplanMeier(object, p)
REQUIRED ARGUMENTS:
- object
-
an object of class
"kaplanMeier"
as returned from routine
kaplanMeier
.
- p
-
vector of probabilities for which quantiles are to be computed.
VALUE:
A matrix containing the quantile estimates. Linear interpolation is used
in computing all quantiles.
SEE ALSO:
EXAMPLES:
kfit <-kaplanMeier(censor(days,event)~1, data=capacitor2,weights=weights)
qkaplanMeier(kfit)