ellipse.profile.nls {ellipse}R Documentation

Profile sketch

Description

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

Usage

ellipse.profile.nls(x, level=0.95, t=sqrt(2 * qf(level, 2, attr(x,"su
mmary")$df[2])), ...)

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

 # 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=T)