Learn R Programming

nlme (version 3.1-149)

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, …)

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.

Value

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

See Also

gnls

Examples

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

Run the code above in your browser using DataLab