point_slope_intercept: convert point-slope to axis intercept

point_slope_interceptR Documentation

convert point-slope to axis intercept

Description

convert point-slope to axis intercept

Usage

point_slope_intercept(pt, slope, angle, ...)

Arguments

pt

numeric matrix with two columns, or coerced to matrix with two columns using byrow=TRUE.

slope

numeric slope.

angle

numeric value, currently ignored.

...

additional arguments are ignored.

Value

numeric intercept on the y-axis, except with slope is infinite in which case the value returned is the x-axis intercept.


jmw86069/jamses documentation built on May 31, 2024, 1:36 p.m.