Learn R Programming

ellipse (version 0.2-3)

ellipse.profile.nls: Profile sketch

Description

This is the version of ellipse.profile specific to profiles from nls objects. See ellipse.profile for the description.

Usage

## S3 method for class 'profile.nls':
ellipse(x, level = 0.95, t = sqrt(2 * qf(level, 2, attr(x, "summary")$df[2])), 
    ...)

Arguments

item

  • x
  • labels
  • panel
  • invert
  • plot.tau
  • plot.trace
  • plot.sketch
  • plot.ellipse
  • level
  • ...

code

profile.nls

Details

Produces a plot on the current device for each pair of variables in the profile object. This function implements the plots used in Bates and Watts (1988) for nonlinear regression diagnostics.

References

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

See Also

profile, ellipse.profile, ellipse.nls

Examples

Run this code
# Plot everything for the Puromycin data
library(nls)
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)

Run the code above in your browser using DataLab