Description Usage Arguments Details Value See Also
Calculates the trapezoid area (boxes+traingles) under the curve y=f(x) up to a given x limit (xupper), when given
1  | calcAreaLim(x, y, xupper = NULL)
 | 
x | 
 vector holding the x values  | 
y | 
 vector holding the y values  | 
xupper | 
 x value  | 
If xupper is not one of the x values, the corresponding y value is calculated using the approx function
area under the curve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.