R/fix0204.R

fix0204 <-
function (func = 1, a = 0, b = 1, n, mu, sig, eta, kappa, alf, 
    bet) 
{
    (sum(func(a + ((1:n - 0.5) * (b - a))/n, mu, sig, eta, kappa, 
        alf, bet)) * (b - a))/n
}

Try the EnvStats package in your browser

Any scripts or data that you put into this service are public.

EnvStats documentation built on Sept. 11, 2024, 6:03 p.m.