Re: [R] BB package

2010-04-29 Thread Berend Hasselman
Roslina Zakaria wrote: Hi I would like to solve a system of nonlinear equations below using dfsane function   mn - 142.36; vr - 9335.69 ; sk - 0.81;  kur - 0.25 test_fn - function(p) {    f - rep(NA, length(p))     f[1] - p[1]*(p [2]+p[3])- mn   f[2] - - vr +

[R] BB package

2010-04-28 Thread Roslina Zakaria
Hi I would like to solve a system of nonlinear equations below using dfsane function   mn - 142.36; vr - 9335.69 ; sk - 0.81;  kur - 0.25 test_fn - function(p) {    f - rep(NA, length(p))     f[1] - p[1]*(p [2]+p[3])- mn   f[2] - - vr + 2*p[1]*p[2]*p[3]*(p[4]-1)+p[1]*(p[2]+p[3])^2   f[3] - -