I would appriciate help for ecdf function
exam <- c(72,78,85,89,94,98)
I was asked to calculate the quantile for x=94 and it's 71.43%
ecdf(exam)(94) returned 83%
I found that type 6 is my desired type, however i dont know how to change the type for the ecdf
I found that type = 6 is good for me in quantile, but not for ecdf... any suggestions?
Seems like there's no easy solution but using the formula i learned in class? thats a bummer. no package?