x <- c(2, 3, 5, 7, 11, 13, 17, 19, 23, 29) # Line 1
> plot(ecdf(x))This command produces this graph of the cumulative distibution function.
> quantile(x, 0.25, type=1) 25% 5
> quantile(x, 0.50, type=2) 50% 12
> quantile(x, 0.25, type=3) 25% 3
> pnorm(1.234) [1] 0.8913985
> quantile(x, 0.25, type=4) 25% 4
> quantile(x, 0.25, type=5) 25% 5
> quantile(x, 0.25, type=6) 25% 4.5
> quantile(x, 0.25, type=7) 25% 5.5
> quantile(x, 0.25, type=8) 25% 4.833333
> quantile(x, 0.25, type=9) 25% 4.875