Fit Line to QQ-Plot in Panel

USAGE:

panel.qqmathline(y, distribution, ...) 
panel.bd.qqmathline(x, y, ...)

ARGUMENTS:

y
for panel.qqmathline, a sample of the data to display in the panel. for panel.bd.qqmathline, a vector of 500 quantiles (by default), at equally-spaced probabilities between 0 and 1, of the data.
distribution
a quantile function for the reference distribution. For example, qnorm, qexp, qcauchy or a function calling one of those with non-default arguments.
...
graphical parameters that are passed to panel.abline.
x
a vector of the x quantiles of the distribution we are comparing the data to

SIDE EFFECTS:

The panel.qqmathline function fits a line to a QQ plot with the specified reference distribution by drawing the line through the quartiles of the data and the quartiles of the reference distribution.

panel.bd.qqmathline is available only when the Big Data library is loaded.

SEE ALSO:

, .