qq(formula, f.value = ppoints, ...)
The following arguments have special meaning within this function. The common meanings for these and all other arguments are listed separately under trellis.args.
# compare bass heights to tenor heights bass2 <- singer$height[singer$voice.part == "Bass 2"] tenor1 <- singer$height[singer$voice.part == "Tenor 1"] qq(which ~ data, data = make.groups(bass2,tenor1), aspect = 1, ylab = "Tenor 1 Height (inches)", xlab = "Bass 2 Height (inches)")# alternative to the above qq(voice.part ~ height, aspect = 1, data = singer, subset = voice.part == "Bass 2" | voice.part == 'Tenor 1', ylab = "Tenor 1 Height (inches)", xlab = "Bass 2 Height (inches)")
# compare payoffs in 2 periods of lottery drawings qq(which ~ data, data = make.groups(lottery.payoff, lottery2.payoff))