I have a problem where I need to calculate the corresponding cohort 
percentile ranks for each of several variables.

Essentially, what I need is a function that will calculate the
distribution-free percentiles from each variable's data vector, returning a
corresponding vector of percentiles:

e.g.:  

percentile.my.data<-/function/(my.data)


I tried to make ecdf() perform this task but was unsuccessful.

I'd be grateful for any help or advice...



--
View this message in context: 
http://r.789695.n4.nabble.com/data-vector-to-corresonding-percentile-ranks-tp4228971p4228971.html
Sent from the R help mailing list archive at Nabble.com.
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to