Using a survfit object, I can extract quantiles like this:
library('survival')
fit <- survfit(Surv(time, status) ~ 1, data = aml)
quantile(fit)[[1]]
#25 50 75
#12 27 43
Is there a function to perform the inverse? Pass a vector of quantiles, and return the probabilities?