Description Usage Arguments Value
View source: R/computeIntersectionOfLines.R
Compute the coordinates of the intersection of two lines
1 | computeIntersectionOfLines(m1, b1, m2, b2)
|
m1 |
A numeric of the slope of the first line. |
b1 |
A numeric of the intercept of the first line. |
m2 |
A numeric of the slope of the second line. |
b2 |
A numeric of the intercept of the second line. |
A vector of coordinates where the two lines intersect.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.