above_Or_below_Line: Is a data point above or below a line described by a linear...

Description Usage Arguments

View source: R/above_Or_below_Line.R

Description

This function assesses whether a given data point is above or below a stright line described by mathematical formula.

Usage

1
above_Or_below_Line(point_coord = NA, m = 0, b = 0, above = TRUE)

Arguments

point_coord

A numeric vector of point coordinates on 2D plane. Following math convention point_coord[1] is the value on X axis, while point_coord[2] is the value on Y axis.

m

A single numeric of the slope.

b

A single numeric of the intercept.

above

A boolean indicating whether to test if the point is above or below the line.


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