compute quantile in r code example Example: get quantile value in r unname(quantile(c(1,2,3,4),0.75)) # 3.25