| formula.nls | R Documentation | 
Returns the model used to fit object.
## S3 method for class 'nls' formula(x, ...)
x | 
 an object inheriting from class   | 
... | 
 further arguments passed to or from other methods.  | 
a formula representing the model used to obtain object.
José Pinheiro and Douglas Bates
nls, formula
fm1 <- nls(circumference ~ A/(1+exp((B-age)/C)), Orange,
           start = list(A = 160, B = 700, C = 350))
formula(fm1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.