qqplot(x, y, pch = 20, xlab = "x Quantiles", ylab = "y Quantiles", regress = TRUE,
make.plot = TRUE, ...)## S3 method for class 'qqplot':
plot(x, ...)
## S3 method for class 'qqplot':
summary(object, ...)
qqplot
: numeric vector of length 'm' giving one data set.plot
method function: list object of class qqplot
.
qqplot
.summary
method function.K = 1.36
and
M = m*n / (m+n).
The plot
method function does exactly the same thing as qqplot
except that it does not need to do any calculations.
The summary
method function merely displays the original call to the function unless a regression line was fit between the quantiles, in which case summary information is displayed for the regression (i.e., the summary
method function for lm
is run on the
approxfun
, qqnorm
, shiftplot
z <- rnorm(100)
y <- rexp(100)
qqplot( z, y)
qqplot( y, z)
data( ftcanmax)
qqplot( ftcanmax[,"Prec"], z)
obj <- qqplot( ftcanmax[,"Prec"], y, make.plot=FALSE)
plot(obj)
summary(obj)
Run the code above in your browser using DataLab