[R] NLS mensagem error...

Bernardo Rangel Tura tura at centroin.com.br
Wed Jan 14 22:53:18 CET 2004

Hi R-masters,

I have a problem with nls() and my research data. Look this example:

fit <- nls(X2000~R*exp(A*age),start=list(R=.1,A=.1))

Error mensage:

Error in nls(X2000 ~ R * exp(A * age), start = list(R = 0.1, A = 0.1)) : 
        singular gradient
In addition: Warning message: 
no finite arguments to min; returning Inf

How I fix this problem? Other command? 

Thanks in advance

Bernardo Rangel Tura, MD, MSc
National Institute of Cardiology Laranjeiras
Rio de Janeiro Brazil 

More information about the R-help mailing list