Re: [R] need help in using Hessian matrix

2009-11-03 Thread Uwe Ligges
Laila Alkhalfan wrote: Hi I need to find the Hessian matrix for a complicated function from a certain kind of data but i keep getting this error Error in f1 - f2 : non-numeric argument to binary operator the data is given by U<-runif(n) Us<-sort(U) tau1<- 2

[R] need help in using Hessian matrix

2009-11-02 Thread Laila Alkhalfan
Hi I need to find the Hessian matrix for a complicated function from a certain kind of data but i keep getting this error Error in f1 - f2 : non-numeric argument to binary operator the data is given by U<-runif(n) Us<-sort(U) tau1<- 2 F1tau<- pgamma((tau1/t