I have a fair bit of experience with both nls and rating curves. This is
not a nls() problem, this is a model problem. The power law rating curve
favored by hydrologists would not apply to your data as it's based on
the idea that a log-log plot of discharge vs. stage, or state+a in your
case is
If you insist on using nls() for anything that you don't understand
extremely well, you will end up with frustration. nls() uses the same
method K F Gauss used (with good understanding of the details) over
200 years ago. The Gauss-Newton approach inside works very well and
efficiently for problems
nal Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Zachary
> Shadomy
> Sent: Friday, May 5, 2017 12:58 AM
> To: r-help@r-project.org
> Subject: [R] Non-Linear Regression Help
>
> I am having some errors come up in my first section of code. I have no
I am having some errors come up in my first section of code. I have no
issue in plotting the points. Is there an easier method for creating a
non-linear regression using C*(x+a)^n. The .txt file is named
stage_discharge with the two variables being stage and discharge.
The data is a relatively smal
4 matches
Mail list logo