lmIntx {PCBS}R Documentation

PC-Intersect nested function.

Description

Finds the intersection point of two linear regression models, lm().

Usage

lmIntx(fit1, fit2, rnd=2)

Arguments

fit1

lm() model 1

fit2

lm() model 2

rnd

number of significant figures

Value

Returns a 2 column data.frame of one row, containing the x and y coordinates of the intersection point of the input models.


[Package PCBS version 0.1.0 Index]