To calculate the 99 percentile in R, you can use the quantile()
function. The probs
argument allows you to specify the percentile you want to calculate. Here's an example:
main.r129 chars6 lines
The output would be 9.91
, which means that 99% of the data values are less than or equal to 9.91.
gistlibby LogSnag