Draw a simple Q-Q Plot
qq.ade(x, data=NULL, main="Q-Q Plot",
xlab="Theoretical Quantiles", ylab="Sample Quantiles",
xlim=NULL, ylim=NULL, lwd=1, cex=1, pch=16, lty=1,
xticks=NULL, yticks=NULL,
col=NULL, tcol=NULL, bgcol=NULL, lcol=NULL, alpha=NULL, fitline=0,
qline=TRUE, wall=0, v=NULL, h=NULL, diag=FALSE, band=FALSE, span=0.75)
a numeric vector
a character string with the name of the variable in the data.frame
data.frame if used character string for x
an overall title for the plot
a title for the x axis
a title for the y axis
the x limits (x1, x2) of the plot
the y limits (y1, y2) of the plot
the line width
character (or symbol) expansion: a numerical value
plotting "character", i.e., symbol to use. This can either be a single character or an integer code for one of a set of graphics symbols.
the line type
the number of ticks on the x axis or a vector of exact ticks
the number of ticks on the y axis or a vector of exact ticks
a color for the points
color of the text in whole plot
the background color for plot dekoration
color for the lines in plot, a vector of colors is possible
a parameter in [0, 1] for semi-transparency of points
a number between 0 and 3 to fit:
0. not fit
1. a lm regression line
2. a loess local regression line
3. a pylinomial regression line
logical asking whether to draw a median line fitted from data between 25th and 75th percentiles only.
a number between 0 and 6 for selection the dekoration style of the plot.
the x-value(s) for vertical line(s).
the y-value(s) for horizontal line(s).
logical asking whether to plot a diagonal line
logical asking whether to plot a simulated normal band or N of iteration for band estimation
the span parameter for lowess curve fit (only if fitline=2)
It is only a wrapper function for scatter.ade.
scatter.ade
qq.ade(rnorm(1000))
qq.ade(rchisq(1000, 2), fitline=2, wall=3, col=2)
Run the code above in your browser using DataLab