A linear regression implementation for the "lm" class. It uses lm

# S3 method for lm
chmod(object, ...)

Arguments

object

a list of Y - outcome variable and X - design matrix of class "lm"

...

additional parameters to be passed to lm

Value

fitted model object

Examples

chmod(c_chmod(Y=women$height,X=women$weight,modclass="lm"))
#> #> Call: #> stats::lm(formula = object$Y ~ ., data = dat) #> #> Coefficients: #> (Intercept) object.X #> 25.7235 0.2872 #>