[R] NLS "Singular Gradient" Error

Gabor Grothendieck ggrothendieck at gmail.com
Wed Apr 28 16:00:42 CEST 2010


What does "no success" mean?

Some things to try are:

- since log(1-Ne/No)  is linear in Ne and run an lm(log(1-Ne/No) ~ Ne)
and then use the implied  values from that or use them as starting
values,

- reparameterize a*(b*Ne-T) to aa*Ne + bb and try nls on that


On Wed, Apr 28, 2010 at 9:13 AM, bsnrh <bsnrh at leeds.ac.uk> wrote:
>
> Thank you for your reply.
>
> The equation is derived from Juliano's chapter in Scheiner and Gurevitch
> (2001) on Functional Responses.
>
> I have tried calling T<-24 and rerunning with no success sadly.
> --
> View this message in context: http://r.789695.n4.nabble.com/NLS-Singular-Gradient-Error-tp2069029p2069149.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list