linterpol: linterpol...

Description Usage Arguments

View source: R/aiding_functions.R

Description

linear interpolation: returns the y values matching the x values (vector) on the line through points pnt1 and pnt2 (both are vectors of length 2) possible error if both X-coordinates equal not checked or caught

Usage

1
linterpol(x, pnt1, pnt2)

Arguments

x

x-coordinate for which corresponding y-coordinate is sought.

pnt1

Point 1

pnt2

Point 2


mdavy86/polymapR documentation built on May 25, 2019, 9:35 p.m.