Hi,

I have a vector with values:

x <- rnorm(1000, 5, 2)


and one single value:
y <- 6.2

now I would like to know the percent rank of y based on the 'population'-vector 
x.
Is there a convenient function that calculates the percent rank of a y for the 
given vector x?


thanks!
______________________________________________
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