Learn R Programming

lattice (version 0.11-8)

qq: Quantile-Quantile Plots of Two Samples

Description

Quantile-Quantile plots for comparing two Distributions

Usage

qq(formula, f.value = NULL, ...)

Arguments

Value

An object of class ``trellis''. The `update' method can be used to update components of the object and the `print' method (usually called by default) will plot it on an appropriate plotting device.

synopsis

qq(formula, data = parent.frame(), aspect = "fill", panel = panel.qq, prepanel = NULL, scales = list(), strip = TRUE, groups = NULL, xlab, xlim, ylab, ylim, f.value = NULL, drop.unused.levels, ..., default.scales, subscripts = !is.null(groups), subset = TRUE)

Details

qq produces a Q-Q plot of two samples. The default behaviour of qq is different from the corresponding S-PLUS function. See the entry for f.value for specifics.

This and all other high level Trellis functions have several arguments in common. These are extensively documented only in the help page for xyplot, which should be consulted to learn more detailed usage.

See Also

xyplot, panel.qq, qqmath, Lattice

Examples

Run this code
qq(voice.part ~ height, aspect = 1, data = singer,
   subset = (voice.part == "Bass 2" | voice.part == "Tenor 1"))

Run the code above in your browser using DataLab