compute_result_tables: compute_result_tables

View source: R/compute_result_tables.R

compute_result_tablesR Documentation

compute_result_tables

Description

Internal function. Please refer to run_synthetic_forecast documentation.

Usage

compute_result_tables(
  df,
  synthetic_control_output,
  col_unit_name,
  unit_of_interest,
  serie_of_interest,
  max_time_unit_of_interest,
  periods_to_forecast,
  col_time
)

Arguments

df

Main DataFrame.

synthetic_control_output

Output from compute_synthetic_control().

col_unit_name

String with column name of the column with the units names.

unit_of_interest

Value of the col_unit_name that is of interest.

serie_of_interest

Column name os the serie to be projected.

max_time_unit_of_interest

Outout from intern_get_max_time_unit_of_interest().

periods_to_forecast

(Integer) Number of periods to forecast.

col_time

String with the column name of the time column.

Value

List with result tables.


SynthCast documentation built on March 18, 2022, 5:48 p.m.