Learn R Programming

DataVisualizations (version 1.2.3)

QQplot: QQplot with a Linear Fit

Description

Qantile-quantile plot with a linear fit

Usage

QQplot(X,Y,xlab, ylab,col="red",main='',...)

Value

List with

Residuals

Output ofresiduals.lm(line)

Summary

Output ofsummaryline)

Anova

Output ofanova(line)

Arguments

X

[1:n] numerical vector, First Feature

Y

1:n] numerical vector, Second Feature to compare first feature with

xlab

x label, see plot ...

ylab

y label, see plot

col

color of line, see plot

main

title of plot, see plot

...

other parameters for qqplot

Author

Michael Thrun

Details

Output is the evaluation of a linear fit of lm called 'line' and a quantile quantile plot (QQplot).

References

Michael, J. R.: The stabilized probability plot, Biometrika, Vol. 70(1), pp. 11-17, 1983.