RunAllModels: RunAllModels

RunAllModelsR Documentation

RunAllModels

Description

This function will loop through a list of regression formulas and generate models using lm

Usage

RunAllModels(
  USE_THESE_FORMULAS,
  MODEL_DATA,
  DATE_COLUMN = "date_ymd",
  TARGET_COLUMN = "visits",
  DEBUG = TRUE
)

Arguments

USE_THESE_FORMULAS

A list of formulas

MODEL_DATA

The column names containing character values that need to be encoded

DATE_COLUMN

Drop any levels that are missing (should be FALSE)

TARGET_COLUMN

Drop any levels that are missing (should be FALSE)

DEBUG

If TRUE, the function will run in debug mode

Value

returns the originak data table with all the new features appended to the dataset

Author(s)

Abraham Mathew

See Also

Other Modeling Functions: DoOneHotEncoding(), mae(), rmse()


abmathewks/GoodeR documentation built on June 12, 2025, 1:48 a.m.