sum(x<=7)/length(x)*100
*********** REPLY SEPARATOR *********** On 8/31/2004 at 8:16 AM Paolo Tommasini wrote: >>>Hi this is a very simple question ! if a have a set of date like >>>x=c(1,2,3,4,4,5,6,8,7,8,8) >>> >>>how can I find out the percentile of 7 ? >>> >>>thanks >>> >>>Paolo >>> >>>______________________________________________ >>>[EMAIL PROTECTED] mailing list >>>https://stat.ethz.ch/mailman/listinfo/r-help >>>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Dipl. bio-chem. Witold Eryk Wolski @ MPI-Moleculare Genetic Ihnestrasse 63-73 14195 Berlin 'v' tel: 0049-30-83875219 / \ mail: [EMAIL PROTECTED] ---W-W---- http://www.molgen.mpg.de/~wolski [EMAIL PROTECTED] ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html