Re: [R] Help specifying a non-linear model in nlsLM()

2014-12-17 Thread Prof J C Nash (U30A)
] Help specifying a non-linear model in nlsLM() Message-ID: cack-te30269-jbc4roh24whycv2mrsorqcekurn+vzhvurm...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 Suitable help may not be possible. I suspect that either your function/code is funky (is the function smooth, non-infinite near your

[R] Help specifying a non-linear model in nlsLM()

2014-12-16 Thread Chandrasekhar Rudrappa
Dear All, I am trying to fit the following model in nlsLM(): fn5 - function(x, T, t1, w_inf, Lt0){ S-function(x, T, t1){ x+(1-T)/(2*pi)*sin(2*pi*(x-t1)/(1-T)) } F - function(x, T, t1){ t2 - t1 + (1-T)/2 t3 - t1 + (1+T)/2 t.factorial - x%%1 floor(x)*(1-T) + S(t.factorial, T, t1)*(0=t.factorial

Re: [R] Help specifying a non-linear model in nlsLM()

2014-12-16 Thread Bert Gunter
Suitable help may not be possible. I suspect that either your function/code is funky (is the function smooth, non-infinite near your starting value?) or you are overparameterized. If the latter, the remedy may depend on the nature of your data, which you have not shared. While you may receive