Re: [R] Converting code from MATLAB to R

From: Robin Hankin <r.hankin_at_noc.soton.ac.uk>
Date: Thu 09 Jun 2005 - 00:10:31 EST

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]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Jun 09 00:17:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:27 EST