Exponential regression in R

前端 未结 2 1183
梦谈多话
梦谈多话 2020-12-06 15:35

I have some points that look like a logarithmic curve. The curve that I\'m trying to obtain look like: y = a * exp(-b*x) + c

My code:

x <- c(1.564         


        
2条回答
  •  时光取名叫无心
    2020-12-06 16:24

    You're not wrong, but sometimes it's necessary to change the initial values (kick) to program solve the equation.

提交回复
热议问题