Re: [R] Error with grad() for numerical differential of a function

2013-03-10 Thread Berend Hasselman
On 10-03-2013, at 16:43, Oleguer Plana Ripoll wrote: > Hello everyone, > > I have programmed a function and, among other things, it has to compute the > differential of a function. I have been using the function grad() and I have > programmed some simulated studies. I have testes with 72,576

[R] Error with grad() for numerical differential of a function

2013-03-10 Thread Oleguer Plana Ripoll
Hello everyone, I have programmed a function and, among other things, it has to compute the differential of a function. I have been using the function grad() and I have programmed some simulated studies. I have testes with 72,576 different combinations of the initial values and now I got an err