Skip to contents

Take each column as dependent vairable at a time, and produce n linear models for n columns in a dataset.

Usage

mass_produce_lm__(data)

Arguments

data

A dataframe.

Details

This is an internal function designed to automatically generate a list of functions for regression. Each column is considered a response variable against all other columns. The resulting functions can be utilized as inputs for random forest regression in gNetwork().