powered by
Returns the model used to fit object.
object
# S3 method for nls formula(x, …)
an object inheriting from class "nls", representing a nonlinear least squares fit.
"nls"
further arguments passed to or from other methods.
a formula representing the model used to obtain object.
nls, formula
nls
formula
fm1 <- nls(circumference ~ A/(1+exp((B-age)/C)), Orange, start = list(A = 160, B = 700, C = 350)) formula(fm1)
Run the code above in your browser using DataLab