formula.nls
Extract Model Formula from nls Object
Returns the model used to fit object
.
 Keywords
 models
Usage
"formula"(x, ...)
Arguments
 x
 an object inheriting from class
"nls"
, representing a nonlinear least squares fit.  ...
 further arguments passed to or from other methods.
Value

a formula representing the model used to obtain
object
.
See Also
Examples
library(stats)
fm1 < nls(circumference ~ A/(1+exp((Bage)/C)), Orange,
start = list(A = 160, B = 700, C = 350))
formula(fm1)
Community examples
Looks like there are no examples yet.