Topic: Utilities

Topic Description:

Basic R utilities used in many packages and functions, such as date and string manipulations, statistical distributions, geometry of lines and distances. The R package date is required for the two data functions.



File: utilities/geometry.r

View File Source Download File No help file available

Function: line.intersection

Function Description: line.intersection

Old version of function to return point where lines intercept, accepting slope then intercept, rather than the more standard intercept then slope. Kept in case old functions call this version.

Function Arguments:

ArgumentDefault Value

Function Source:

line.intersection=function(m1,b1,m2,b2)
return(intersection.of.lines(b1,m1,b2,m2))