Description Usage Arguments Value
View source: R/add_to_tables.R
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.
1 | add_to_tables(data, predictions, model_name, notes = "-")
|
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 |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.