Hi Martin
optim()
should do the trick
[and this isn't in R-and-octave2.txt; I'll update when I get a minute]
HTH
rksh
On Jun 8, 2005, at 02:27 pm, Martin Englund wrote:
Hi,
I'm having trouble converting code from MATLAB to R; I want to find the
equivalence to MATLAB's function 'fsolve'. I've tried 'nlm', on the
squared argument, in R but i did not get the same results.
Thankful if helped.
Best regards,
Martin Englund
-----------------------------------------------------------------------
-------
This e-mail and any attachment may be confidential and may also be
privileged.
If you are not the intended recipient, please notify us immediately
and then
delete this e-mail and any attachment without retaining copies or
disclosing
the contents thereof to any other person.
Thank you.
-----------------------------------------------------------------------
-------
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
tel 023-8059-7743
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html