Learn R Programming

takos (version 0.2.0)

runningIntegral: Title running integral

Description

calculates the running integral for customer input

Usage

runningIntegral(x, y, integrate.step = 1)

Arguments

x

variable x use for integration process

y

variable y use for integration process

integrate.step

= the step used for calculating the integrale the default value is 1

Examples

Run this code
# 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