[R] Solving a system of nonlinear equations

2007-06-27 Thread Ravi Varadhan
Hi All, Here is a modification of nlsolve() that I had submitted before. The new version of nlsolve() has the option to generate multiple random starting values in order to improve the chances of locating the zeros of the nonlinear system. The last test example in the attached file, the

[R] Solving a system of nonlinear equations involving weighted parameters

2007-03-27 Thread Geir H Bolstad
Hi, I'm trying to solve the following system of nonlinear equations P1 - F2 = x[1] + (1/2) * x[3] * x[1]^2 P2 - F2 = x[2] + (1/2) * x [3] * x[2]^2 F1 - F2 = -(1/2) * x[1] - (1/2) * x[2] + (1/8) * x [3] * (x[1] + x[2])^2 B1 - F2 = (1/4) * x[1] - (1/4) * x[2] +

Re: [R] solving a system of nonlinear equations

2005-09-07 Thread Sundar Dorai-Raj
Olshansky,Moshe wrote: What is the classic R function for solving a (possibly over determined) system of non-linear equations? Thank you! Moshe Olshansky e-mail: [EMAIL PROTECTED] I'm not sure what your definition of 'classic' is, but there are several options in