line: Line to linear equation in two variables

View source: R/geometry.R

lineR Documentation

Line to linear equation in two variables

Description

Calculates the necessary coefficients of the linear equation

Usage

line(point, slope)

Arguments

point

Given point on the line.

slope

Given slope of the line.

Value

Ax + By = C in the form (A,B,C)

Examples

line(c(4,5), c(1,1))

ZeroDawn0D/trianglegsoc documentation built on April 1, 2022, 12:18 a.m.