Curve fitting in R using nls

前端 未结 1 1463
日久生厌
日久生厌 2021-01-05 08:14

I\'m trying to fit a curve over (the tail of) the following data:

 [1]   1   1   1   1   1   1   2   1   2   2   3   2   1   1   4   3   2  11   6   2  16   7  17         


        
相关标签:
1条回答
  • 2021-01-05 08:51

    Well I found the answer to my problem. The starting values for the real data are completely different from the dummy values: a=500 and b=.1 result in a nice fit. Just thought it might be useful to mention that here.

    0 讨论(0)
提交回复
热议问题