Description Usage Arguments Value Examples

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 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.