Description Usage Arguments Value Examples
View source: R/counterfactual_f_part2.R
Calculate Mix
1 | variable_mix(data_input, chosen_period = NA, target_var = NA)
|
data_input |
A tibble table with a column date having time information and a column target_var grouping the entries. If no target_var is provided, then specify the name of target_var. |
chosen_period |
Period where the mix is calculated |
target_var |
Variable having group information |
variable mix returns a summary a pivot table with the mix total
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.