Extract gnls Object Formula

DESCRIPTION:

This method function extracts the nonlinear model formula associated with object.

USAGE:

formula(object) 

REQUIRED ARGUMENTS:

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

VALUE:

a two-sided formula specifying the nonlinear model used to obtain object.

SEE ALSO:

EXAMPLES:

fm1 <- gnls(weight ~ SSlogis(Time, Asym, xmid, scal), Soybean, 
            weights = varPower()) 
formula(fm1)