I have some data that looks like the following. It is grouped by variable \"Year\" and I want to extract the percentiles of each observation of Score, with respect to t
Using ave
ave
ave(d1$scores, d1$year, FUN=function(x) ecdf(x)(x))