Re: [R] Integrate() error message, I am at a loss

2007-09-12 Thread Charles C. Berry
On Wed, 12 Sep 2007, Sergey Goriatchev wrote: > Hello! > > I have a problem with integrate() in my function nctspa(). Integrate > produces an error message "evaluation of function gave a result of > wrong length". I don't know what that means. Could anyone suggest me > what is wrong with my functi

[R] Integrate() error message, I am at a loss

2007-09-11 Thread Sergey Goriatchev
Hello! I have a problem with integrate() in my function nctspa(). Integrate produces an error message "evaluation of function gave a result of wrong length". I don't know what that means. Could anyone suggest me what is wrong with my function? These are the examples of function calls that work OK