Calculate the area under the curve.

1 2 | ```
Area_Under_Curve(x, y, method = c("trapezoid", "step", "spline"),
na.rm = FALSE)
``` |

`x` |
the x-points of the curve |

`y` |
the y-points of the curve |

`method` |
can be "trapezoid" (default), "step" or "spline" |

`na.rm` |
a logical value indicating whether NA values should be stripped before the computation proceeds |

Area Under the Curve (AUC)

1 2 3 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.