Skip to content

quantile question

4 messages · Greg Snow, Dimitris Rizopoulos, ANJAN PURKAYASTHA

#
Read the help page for the quantile function (the whole page, there is a lot of good detail in there), the 2nd reference on the page should also be a helpful read.
#
have a look at the online help file of ?quantile(); check also:

x <- c(67.12, 64.51, 62.06, 55.45, 51.41, 43.78, 10.74, 10.14)
sapply(1:9, function (i) quantile(x, c(0.05, 0.95), type = i))


I hope it helps.

Best,
Dimitris
ANJAN PURKAYASTHA wrote: