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: slope.intercept.frompts

Function Description: slope.intercept.frompts

This is an old version of, returns slope than intercept of a line given two points. The alternate function,, returns intercept then slope, which is more standard. This is kept for compatibility with old functions.

Function Arguments:

ArgumentDefault Value

Function Source:


# return(c(line[2:1]))