calculate_model_predictions: Calculate model predictions

View source: R/calculate_model_predictions.R

calculate_model_predictionsR Documentation

Calculate model predictions

Description

This function calculates predictions from model_with_SLR, model_with_CP, model_with_HDD_CDD, and model_with_TOWT

Usage

calculate_model_predictions(
  training_data = NULL,
  prediction_data = NULL,
  modeled_object = NULL,
  allow_neg_predict = FALSE
)

Arguments

training_data

Training dataframe and operating mode dataframe. Output from create_dataframe

prediction_data

Prediction dataframe and operating mode dataframe. Output from create_dataframe

modeled_object

List with model results. Output from model_with_SLR, model_with_CP, model_with_HDD_CDD, and model_with_TOWT.

allow_neg_predict

Boolean determining whether negative predictions are allowed for TOWT models.

Value

a dataframe with model predictions


kW-Labs/nmecr documentation built on May 6, 2024, 9:28 p.m.