get_perpendicular_line: Get perpendicular line

Description Usage Arguments Value Examples

View source: R/anem_geoprocessing.R

Description

Get perpendicular in from slope and point

Usage

1

Arguments

m

Slope of line

x

Coordinate through which perpendicular line should pass

y

Coordinate through which perpendicular line should pass

Value

Returns a list containing $m and $b, the slope and intercept of a perpendicular line that passes through x, y.

Examples

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)

gopalpenny/anem documentation built on Dec. 20, 2020, 5:27 a.m.