pairs.compareFits {nlme} | R Documentation |
Scatter plots of the values being compared are generated for each pair
of coefficients in x
. Different symbols (colors) are used
for each object being compared and values corresponding to the same
group are joined by a line, to facilitate comparison of fits. If only
two coefficients are present, the trellis
function
xyplot
is used; otherwise the trellis
function splom
is used.
## S3 method for class 'compareFits' pairs(x, subset, key, ...)
x |
an object of class |
subset |
an optional logical or integer vector specifying which
rows of |
key |
an optional logical value, or list. If |
... |
optional arguments passed down to the |
Pairwise scatter plots of the values being compared, with different symbols (colors) used for each object under comparison.
Jose Pinheiro and Douglas Bates
compareFits
,
plot.compareFits
,
pairs.lme
,
pairs.lmList
,
xyplot
,
splom
fm1 <- lmList(Orthodont) fm2 <- lme(Orthodont) pairs(compareFits(coef(fm1), coef(fm2)))