Re: [R] Problem with the port algorithm in nls function

2015-11-16 Thread ProfJCNash
You might try functions in the nlmrt package, but there are some differences in the call -- you must have a well-defined dataframe for example. And with only 1 parameter, I'm not sure of the behaviour. JN On 15-11-16 02:41 PM, Bert Gunter wrote: > from ?nls ... > > "The algorithm = "port" code a

Re: [R] Problem with the port algorithm in nls function

2015-11-16 Thread Bert Gunter
from ?nls ... "The algorithm = "port" code appears unfinished, and does not even check that the starting value is within the bounds. Use with caution, especially where bounds are supplied." So it appears that you may have gotten what you paid for. Cheers, Bert Bert Gunter "Data is not informati

[R] Problem with the port algorithm in nls function

2015-11-16 Thread roberto marrone
Dear all, using the following code I have find a problem with the port algorithm. If I use the nls function without lower bound for my parameter it compute the parameter's value but I want the parameter positive. Running the following code I had this error. Thanks at all. optim <- nls(Prezzo