A linear regression implementation for the "lmcd" class. It uses lm ##lm() from the stats package.

# S3 method for lmcd
regir(object, ...)

Arguments

object

a list of Y - outcome variable and Xmat - design matrix of class "lmcd"

...

additional parameters to be passed to lm

Value

fitted model object