pctile | R Documentation |
Finds the top and bottom bounds corresponding to percentile 'pc' of the data 'dat'.
pctile(dat, pc = 0.01)
dat |
numeric vector of data |
pc |
the percentile to seek, c(pc, 1-pc) |
returns the upper and lower threshold
Nicholas Cooper njcooper@gmx.co.uk
pctile(rnorm(100000),.025) pctile(sample(100),.9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.