Learn R Programming

cluscov (version 1.1.0)

chmod.lm: Regression - lm class

Description

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

Usage

# 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

Run this code
# NOT RUN {
chmod(c_chmod(Y=women$height,X=women$weight,modclass="lm"))
# }

Run the code above in your browser using DataLab