load_model: Create models for load as a function of temperature

Description Usage Arguments Value

View source: R/temploadmod.R

Description

(Note this is creating a model for a variable called "load", not, as the name might suggest, loading a model from some storage location.) The modeling is done separately for each region, and a list of regional models is returned.

Usage

1
2
load_model(model = stats::lm, hourly_data = NULL, formula = load ~
  temperature, ...)

Arguments

model

Modeling function to use. The function must conform to the lm conventions.

hourly_data

Data frame of hourly data. If omitted, then region_hourly is used.

formula

Formula for the model. Default is load~temperature

...

Additional arguments passed to the modeling function.

Value

List of model objects, one for each region.


JGCRI/eiamod documentation built on Feb. 14, 2020, 8:23 a.m.