powered by
calculates the running integral for customer input
runningIntegral(x, y, integrate.step = 1)
variable x use for integration process
variable y use for integration process
= the step used for calculating the integrale the default value is 1
# NOT RUN { npoints=1000 x=seq(1,npoints) y=(dnorm(x, mean=npoints/2, sd=npoints/10)) runningIntegral(x,y) # }
Run the code above in your browser using DataLab