Exact confidence intervals in the presence of interference

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

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

`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 |

Returns x-coordinate of intersection point

Joseph Rigdon jrigdon@bios.unc.edu

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.