| tmd {lattice} | R Documentation |
Create Tukey Mean-Difference Plots from a trellis object returned by
xyplot and qq
tmd(object,
xlab = "mean",
ylab = "difference",
panel = "panel.tmd",
prepanel = "prepanel.default.tmd",
...)
object |
An object of class ``trellis'' returned by
xyplot or qq
|
xlab |
x label |
ylab |
y label |
panel |
panel function to be used |
prepanel |
prepanel function used to recalculate limits using the modified
x, y values
|
... |
other arguments |
The Tukey Mean-difference plot is produced by modifying the (x,y)
values of each panel as follows: the new coordinates are given by
x=(x+y)/2, y=y-x.
tmd uses the update method for ``trellis'' objects,
which processes all extra arguments supplied to tmd.
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.
Deepayan Sarkar deepayan@stat.wisc.edu
data(singer) tmd(qqmath(~height|voice.part, data = singer))