mlr_qr: Implements linear regression with many predictors by matrix...

View source: R/linear_regression_alt.R

mlr_qrR Documentation

Implements linear regression with many predictors by matrix decomposition

Description

This function computes coefficients for multiple regression by QR matrix decomposition All columns of the provided data frame are used as predictors, except the one specified as a response.

Usage

mlr_qr(dat, response)

Arguments

dat

A data frame

response

The name of a response variable in the data frame (unquoted)

Details

No interaction terms are included.

Value

A data frame of coefficients


mknauss58/Lab-6-Group documentation built on May 22, 2022, 12:26 a.m.