calc.area.below.line | R Documentation |
It takes four parameters as the coordinates of two points at the beginning and end of a straight line, and calculates the area exactly below the line (between the line and the x-axis).
calc.area.below.line(x1, x2, y1, y2)
x1 , x2 |
Float values, indicating the first coordinates of start and end points, respectively. |
y1 , y2 |
Float values, indicating the second coordinates of start and end points, respectively. |
A float.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.