[R] solving nonlinear system of equations
ggrothendieck at gmail.com
Fri Mar 24 11:50:58 CET 2006
Minimize the sum of the squares of the differences between the
optim(c(1,1), function(x) exp(x-x)^2 + log(x)^2)
On 3/24/06, allan_sta_staff_sci_main_uct at mail.uct.ac.za
<allan_sta_staff_sci_main_uct at mail.uct.ac.za> wrote:
> hi all
> i have been searching through the archives in search for some help and it seems
> to have been fruitless - thus the mail. i saw some mail relating to mathomatic
> and maxima. mathomatic only works for simpel functions - as per the mail and
> does not support logs ...- and i am not familiar with maxima. i would
> preferably want to use an R function.
> is there a function that can solve a system of non linear equations. i dont have
> any data - ie as per nls.
> so a trivial example would be:
> exp(a) = v
> log(v) = 0
> and we need to solve for v and a.
> hoping someone can help.
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help