add_to_tables: Adds Models Results to Two Result Tables

Description Usage Arguments Value

View source: R/add_to_tables.R

Description

Adds models results to two tables. First one is big table, where every observation and prediction is visible. Second one is small table where only model name, performance and notes are visible.

Usage

1
add_to_tables(data, predictions, model_name, notes = "-")

Arguments

data

is the full data with 'y' values and all

predictions

is the model's prediction results

model_name

is the name of the model that produced the predictions. For note taking purposes, only.

notes

is additional notes for small_table

Value

a list of tables. first element is the 'big_table', second one is the 'small_table'. Big table contains: date, year, month, hour, model name, actual results, predicted results and WMAPE Small table contains: model name, WMAPE and notes


canhakan/canhakan1 documentation built on Dec. 19, 2021, 1:48 p.m.