Learn R Programming

PCBS (version 0.1.1)

lin: Find y value of linear regression given x.

Description

Find y value of linear regression given x.

Usage

lin(x, l)

Value

Returns a column numeric representing the y coordinate at the input x of the linear model l.

Arguments

x

x coordinate

l

linear model of lm()