pairs.profile {ellipse}R Documentation

Profile pairs

Description

This function produces pairwise plots of profile traces, profile sketches, and ellipse approximations to confidence intervals.

Usage

## S3 method for class 'profile':
pairs(x, labels = c(names(x), "Profile tau"), panel = lines, invert = TRUE, 
    plot.tau = TRUE, plot.trace = TRUE, plot.sketch = TRUE, 
        plot.ellipse = FALSE, level = 0.95, ...)

Arguments

x An object of class profile, generally the result of the profile() function.
labels The labels to use for each variable. These default to the variable names.
panel The function to use to draw the sketch in each panel.
invert Whether to swap the axes so things look better.
plot.tau Whether to do the profile tau (profile t) plots.
plot.trace Whether to do the profile trace plots.
plot.sketch Whether to do the profile sketch plots.
plot.ellipse Whether to do the ellipse approximations.
level The nominal confidence level for the profile sketches and ellipses.
... Other plotting parameters.

Details

This function implements the plots used in Bates and Watts (1988) for nonlinear regression diagnostics.

Side Effects

Produces a plot on the current device for each pair of variables in the profile object.

References

Bates and Watts (1988), Nonlinear Regression Analysis & its Applications.

See Also

profile, ellipse.profile, ellipse.nls

Examples

 # Plot everything for the Puromycin data
 data(Puromycin)
 Purboth <- nls(formula = rate ~ ((Vm + delV * (state == "treated"))
   * conc)/(K + conc), data = Puromycin,
   start = list(Vm = 160, delV = 40, K = 0.05))
 Pur.prof <- profile(Purboth)
 pairs(Pur.prof, plot.ellipse = TRUE)

[Package ellipse version 0.3-5 Index]