nlme (version 3.1-1)

pairs.compareFits: Pairs Plot of compareFits Object

Description

Scatter plots of the values being compared are generated for each pair of coefficients in object. 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.

Usage

pairs(object, subset, key, ...)

Arguments

object
an object of class compareFits.
subset
an optional logical or integer vector specifying which rows of object should be used in the plots. If missing, all rows are used.
key
an optional logical value, or list. If TRUE, a legend is included at the top of the plot indicating which symbols (colors) correspond to which objects being compared. If FALSE, no legend is included. If given as a list,
...
optional arguments passed down to the trellis function generating the plots.

Value

  • Pairwise scatter plots of the values being compared, with different symbols (colors) used for each object under comparison.

See Also

compareFits, plot.compareFits

Examples

Run this code
data(Orthodont)
fm1 <- lmList(Orthodont)
fm2 <- lme(Orthodont)
pairs(compareFits(coef(fm1), coef(fm2)))

Run the code above in your browser using DataLab