crosspoint {blmeco} | R Documentation |
Calculates the x and y-coordinates of the cross point of two srtaight lines based on their intercepts and slopes
crosspoint(a1, b1, a2, b2)
a1 |
intercept of first line |
b1 |
slope of first line |
a2 |
intercept of second line |
b2 |
slope of second line |
a two column matrix with x- and y-coordinates of the cross point(s)
F. Korner
crosspoint(4, -0.1, 3, 0.1)