Useful panel function with qqmath
panel.qqmathline.RdUseful panel function with qqmath. Draws a line passing through the points (usually) determined by the .25 and .75 quantiles of the sample and the theoretical distribution.
Usage
panel.qqmathline(x, y = x,
distribution = qnorm,
probs = c(0.25, 0.75),
qtype = 7,
groups = NULL,
...,
identifier = "qqmathline")Arguments
- x
The original sample, possibly reduced to a fewer number of quantiles, as determined by the
f.valueargument toqqmath- y
an alias for
xfor backwards compatibility- distribution
quantile function for reference theoretical distribution.
- probs
numeric vector of length two, representing probabilities. Corresponding quantile pairs define the line drawn.
- qtype
the
typeof quantile computation used inquantile- groups
optional grouping variable. If non-null, a line will be drawn for each group.
- ...
other arguments.
- identifier
A character string that is prepended to the names of grobs that are created by this panel function.
Author
Deepayan Sarkar Deepayan.Sarkar@R-project.org