Generic Quantile-Quantile Plot
Constructs a quantile-quantile plot against a given reference distribution.
QQplot(x, a = 0.5, reference = c("normal", "exp", "student"), ...)
x |
|
a |
|
reference |
|
... |
ellipsis argument, passed down to quantile function of reference distribution. |
Special forms like ParetoQQ plots can also be created via this function. E.g.,
to create a ParetoQQ plot, merely pass log(data) in place of data as the first
parameter and use reference = "exp"
as the reference
distribution. The ParetoQQ plot should provide a linear graph when a
log transform of the data is plotted against the exponential distribution.
Produces QQ-plot and returns invisibly a list of (x, y)
pairs.
QQplot(rnorm(1000), reference = "normal") QQplot(rexp(1000), reference = "exp", rate = 0.3)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.