Learn R Programming

nlme (version 3.1-166)

coef.gnls: Extract gnls Coefficients

Description

The estimated coefficients for the nonlinear model represented by object are extracted.

Usage

# S3 method for gnls
coef(object, ...)

Value

a vector with the estimated coefficients for the nonlinear model represented by object.

Arguments

object

an object inheriting from class "gnls", representing a generalized nonlinear least squares fitted model.

...

some methods for this generic require additional arguments. None are used in this method.

Author

José Pinheiro and Douglas Bates bates@stat.wisc.edu

See Also

gnls

Examples

Run this code
fm1 <- gnls(weight ~ SSlogis(Time, Asym, xmid, scal), Soybean,
            weights = varPower())
coef(fm1)

Run the code above in your browser using DataLab