[R] Calculating Percentile in R

2007-06-18 Thread Megh Dal
Hi all, I have a problem on how R calculates Percentiles : Suppose I have following data set: data1 [1] -16648185 -14463457 -14449400 -13905309 -13443436 -13234755 -12956282 -11660896 [9] -10061040 -9805005 -9789583 -9754642 -9562164 -9391709 -9212182 -9151073 [17] -9092732

Re: [R] Calculating Percentile in R

2007-06-18 Thread ecatchpole
Quantiles aren't uniquely defined. Type ?quantile to learn more about the various possibilities built in to R. Ted. Megh Dal wrote on 06/18/2007 04:37 PM: Hi all, I have a problem on how R calculates Percentiles : Suppose I have following data set: data1 [1] -16648185

Re: [R] Calculating Percentile in R

2007-06-18 Thread Prof Brian Ripley
On Sun, 17 Jun 2007, Megh Dal wrote: Hi all, I have a problem on how R calculates Percentiles : Suppose I have following data set: data1 [1] -16648185 -14463457 -14449400 -13905309 -13443436 -13234755 -12956282 -11660896 [9] -10061040 -9805005 -9789583 -9754642 -9562164 -9391709