[R] qqplot

Duncan Murdoch murdoch at stats.uwo.ca
Tue Feb 7 13:18:10 CET 2006


On 2/6/2006 9:59 AM, Vincent Negre wrote:
> Hello,
> I would like to use qqplot() to compare two
> experimental distributions. But I do not understand
> how qqplot() compute quantiles. In fact, quantile() do
> not return the same results.

Take a look at the source code.  qqplot replaces the longer vector with 
one calculated by linear interpolation (that's what approx does) between 
the values of the other.

Duncan Murdoch




More information about the R-help mailing list