R/lin2.R

Defines functions lin2

Documented in lin2

lin2 <-
function(x1,y1,x2,y2,x)
{
  y1 + (y2 - y1) * (x - x1) / (x2 - x1)
}

Try the inflection package in your browser

Any scripts or data that you put into this service are public.

inflection documentation built on June 15, 2022, 5:07 p.m.