The function add_confidence_interval() add pointwise confidence intervals to the Kaplan-Meier curve. In same settings confidence bands (and not pointwise confidence intervals) are of interest.
It would be great to add a function add_confidence_bands() to the package. To the best of my knowledge, confidence bands are not calculated by the survival package. However, the R package km.ci provides confidence bands.
The function
add_confidence_interval()
add pointwise confidence intervals to the Kaplan-Meier curve. In same settings confidence bands (and not pointwise confidence intervals) are of interest.It would be great to add a function
add_confidence_bands()
to the package. To the best of my knowledge, confidence bands are not calculated by thesurvival
package. However, the R package km.ci provides confidence bands.