View source: R/compute_synthetic_control.R
compute_synthetic_control | R Documentation |
Internal function. Please refer to run_synthetic_forecast documentation.
compute_synthetic_control( prepared_dataset, unit_of_interest, serie_of_interest, col_time, max_time_unit_of_interest )
prepared_dataset |
Output from prepare_dataset(). |
unit_of_interest |
Value of the col_unit_name that is of interest. |
serie_of_interest |
Column name os the serie to be projected. |
col_time |
String with the column name of the time column. |
max_time_unit_of_interest |
Outout from intern_get_max_time_unit_of_interest(). |
Compute the synthetic control 9wraps Synth package).
List with (i) Synth::dataprep() output and (ii) Synth::Synth() output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.