# formula.nls

##### Extract Model Formula from nls Object

Returns the model used to fit `object`

.

- Keywords
- models

##### Usage

```
# S3 method for nls
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((B-age)/C)), Orange,
start = list(A = 160, B = 700, C = 350))
formula(fm1)
```

*Documentation reproduced from package stats, version 3.3.3, License: Part of R 3.3.3*

### Community examples

Looks like there are no examples yet.