compute_SlopeAndIntercept_givenTwoPoints: Compute slope and intercept of line passing through two...

Description Usage Arguments

View source: R/compute_SlopeAndIntercept_givenTwoPoints.R

Description

Compute slope and intercept of line passing through two points on 2D plane

Usage

1
2
3
4
compute_SlopeAndIntercept_givenTwoPoints(
  point1_coord = c(0, 0),
  point2_coord = c(1, 1)
)

Arguments

point1_coord

A vector of point 1 coordinate, where point1_coord[1] is the X-axis coordinate while point1_coord[2] is the Y-axis coordinate.

point2_coord

A vector of point 2 coordinate, where point1_coord[1] is the X-axis coordinate while point1_coord[2] is the Y-axis coordinate.


msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.