R/dist_percentile.R
dist_percentile.Rd
dist_percentile(x, percentile)
A list of values
A list of percentiles
dist <- dist_normal() percentiles <- seq(0.01, 0.99, by = 0.01) x <- vapply(percentiles, quantile, double(1L), x = dist) dist_percentile(list(x), list(percentiles*100)) #> <distribution[1]> #> [1] percentile[99]