trapint | R Documentation |
Integrates function by trapeziodal rule
trapint(curve)
curve |
Required. A data frame of x and y values. Points must be sorted by x value. |
Returns the area under the curve.
Kevin Shook
## Not run: area <- trapint(curve) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.