Re: [R] Passing additional argument to be numerically integrated function

2009-12-02 Thread David Winsemius
You may have hidden your posting by responding to an unrelated thread. (Avoid that in the future.) You need to be looking at: ?"function" #and associated topics This will drop you into a discussion that may be germane to your task: http://finzi.psych.upenn.edu/Rhelp08/2009-April/194648.html

[R] Passing additional argument to be numerically integrated function

2009-12-01 Thread Amir Liu
Hi, I try to use the numerical integration functionality of R to integrate a univariate (1D) function. Below I am integrating function const1 which works nicely as expected. But for some reasons I need to pass to my function that I want to integrate an additional parameter. If it were object-