lmIntx: PC-Intersect nested function.
Description
Finds the intersection point of two linear regression models, lm().
Usage
lmIntx(fit1, fit2, rnd=2)
Value
Returns a 2 column data.frame
of one row, containing the x and y coordinates of the intersection point of the input models.
Arguments
- fit1
lm() model 1
- fit2
lm() model 2
- rnd
number of significant figures