[R] Probability plotting with R
Duncan Murdoch
dmurdoch at pair.com
Sat Jul 19 01:33:34 CEST 2003
On Fri, 18 Jul 2003 08:50:01 -0700 (PDT), you wrote:
>On Fri, 18 Jul 2003, A. Gunes Koru wrote:
>
>> Hello,
>>
>> Our professor asked us to do probability plotting using weibull paper,
>> exponential paper, normal, log-normal paper, etc. I know I can create Q-Q
>> plot for normal dist. and see if all te points are on one line. How do I
>> go about other distributions?
>>
>
>The qqmath() function in the lattice package can do plots like those from
>qqnorm() for other distributions.
Also qqplot used with ppoints, e.g.
# make up some fake data
x <- rexp(100,10)
# calculate standard quantiles to plot against
stdexponential <- qexp(ppoints(100))
# do the plot
qqplot(stdexponential,x)
More information about the R-help
mailing list