View source: R/model_demand_with_TOWT.R
| model_demand_with_TOWT | R Documentation | 
This function builds an electric demand models using two algorithms: TOWT and MW.
This function is adapted from work by LBNL: https://lbnl-eta.github.io/RMV2.0/
model_demand_with_TOWT(
  training_data = NULL,
  prediction_data = NULL,
  model_input_options = NULL
)
training_data | 
 Training dataframe and operating mode dataframe. Output from create_dataframe  | 
prediction_data | 
 Prediction dataframe and operating mode dataframe. Output from create_dataframe  | 
model_input_options | 
 List with model inputs specified using assign_model_inputs  | 
a list with the following components:
training data matrix weighted according to timescale_days
an lm object generated from fit_TOWT_reg
prediction data matrix weighted according to timescale_days
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.