x=c(1,5,12,20,25) var(x) probs=c(0.25,0.5,0.75) cuartiles= quantile(x,probs) cuartiles cuartiles[3] -cuartiles [1] #rangos interquartil
To embed this project on your website, copy the following code and paste it into your website's HTML: