Hi all. Sorry for posting again such a topic but I went through previous
posts but couldn't find a solution.
I use the following code to fit an exponential model to my data. I have 4
different datasets. For 3 datasets nls seems to work fine and I have no
error messages. But for 1 dataset I am getting the "world known" singular
gradient error.
xfit.dNEE <-
nls(vario.dNEE~V*(1-exp(-1*dist/L)),data=ndat,start=list(V=vstart,L=lstart),trace=T)
I tried also with different starting values but still the same error...
Any help would be highly welcome.
Thank you in advance.
--
View this message in context: http://r.789695.n4.nabble.com/nls-singular-gradient-as-always-tp4669859.html
Sent from the R help mailing list archive at Nabble.com.
nls singular gradient ..as always..
4 messages · Adams, Jean, pakoun
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130619/ef13572d/attachment.pl>
Yes it should look like that... what i am doing is a variogram fit . But the data of course are spread almost all over.. I would guess might be problem with the data only? -- View this message in context: http://r.789695.n4.nabble.com/nls-singular-gradient-as-always-tp4669859p4669898.html Sent from the R help mailing list archive at Nabble.com.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130619/1ed374fc/attachment.pl>