Local linear interpolation function

Share:

Description

Computes intersection of a line drawn from (x_{1}, y_{1}) to (x_{2}, y_{2}) and a horizontal line at level

Usage

1
lsolve(x1, y1, x2, y2, level)

Arguments

x1

x-coordinate for first point

y1

y-coordinate for first point

x2

x-coordinate for second point

y2

y-coordinate for second point

level

y-coordinate for horizontal line

Value

Returns x-coordinate of intersection point

Author(s)

Joseph Rigdon jrigdon@bios.unc.edu

See Also

exactCI