find_line | R Documentation |
Find slope and intercept of a line based on the coordinates of two points.
find_line(x1, y1, x2, y2)
x1 |
x coordinate of point 1 |
y1 |
y coordinate of point 1 |
x2 |
x coordinate of point 2 |
y2 |
y coordinate of point 2 |
Named list containing slope and intercept.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.