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

# S3 method for class '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.

Author

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

See also

Examples

fm1 <- gnls(weight ~ SSlogis(Time, Asym, xmid, scal), Soybean,
            weights = varPower())
coef(fm1)
#>      Asym      xmid      scal 
#> 17.356822 51.872316  7.620525