nlme (version 3.1-1)

coef.gnls: Extract gnls Coefficients

Description

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

Usage

coef(object)

Arguments

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

Value

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

See Also

gnls

Examples

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

Run the code above in your browser using DataCamp Workspace