int_Rho | R Documentation |
Integrate function either from stats::integrate
while overpassing errors or manual integration.
int_Rho(dt)
dt |
Numeric. The length of the intervals on which the function is assumed to be constant. If |
If dt = 0
any other arguments of stats::integrate
can be specified. This function is a closure, it takes dt
as argument and creates another function with arguments f
, lower
, upper
and rel.tol
.
Returns an object of class "function"
. This function takes the following arguments and will return the final estimate of the integral:
Function. An R
function of one variable on which to integrate.
Numeric. Lower limit of integration.
Numeric. Upper limit of integration.
Numeric. Relative accuracy requested.
Sophia Lambert
likelihood_bdRho
, fitMCMC_bdRho
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.