This function calculates quantiles using the classroom formula.

manual_quantiles(x)

Arguments

x

numeric vector.

Examples

# Generating a random vector x <- rnorm(n=100) manual_quantiles(x)
#> Q1 Q2 Q3 #> -0.71071851 0.06639554 0.79538710