Description Usage Arguments Value Examples
View source: R/anem_geoprocessing.R
Get perpendicular in from slope and point
1 | get_perpendicular_line(m, x, y)
|
m |
Slope of line |
x |
Coordinate through which perpendicular line should pass |
y |
Coordinate through which perpendicular line should pass |
Returns a list containing $m and $b, the slope and intercept of a perpendicular line that passes through x, y.
1 2 3 4 5 6 7 | ## Not run:
get_perpendicular_line(Inf,2,3)
get_perpendicular_line(0,2,3)
get_perpendicular_line(1/2,2,2)
get_perpendicular_line(-2,2,2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.