how to find quartile in R code example Example: quartile in r quantile(c(1,2,3,4,5), 0.9) # 90% # 4.6