problem with plot a fit line in nls

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

problem with plot a fit line in nls

Rodrigo B.
This post has NOT been accepted by the mailing list yet.
Hi all,

I am having problems for add a line to scatter plot, my data fit to a exponential model,  I used  nls to get coeficients

fit <- nls(volumen ~ bo+ exp(b1*dap), data= df, start = list(bo=0, b1=55))

Later i used plot and lines command to visualize the fit to my data


My Big problem is that i visualize a linear line that not fit with my exponential points.

My model statement could have errors?

please any comments I woould appreciatte

Thanks in