area_rect | R Documentation |
Compute area under the curve by using the rectangle's method.
area_rect(x, y)
x |
Numeric. |
y |
Numeric. |
A numeric.
x <- c(0, 0, 0.5, 1) y <- c(0, 0.5, 0.5, 1) plot(x, y, type = "b") evabic:::area_rect(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.