View source: R/pv_rrepest_groups_argument.R
grp | R Documentation |
Obtains a list with the arguments for the grp() function used within Rrepest() function's average() and group() options.
grp(group.name, column, cases, full_weight = FALSE)
group.name |
(string) Name of the group to be displayed |
column |
(string) Column/variable of interest to be grouped |
cases |
(string vector) Rows/values to be included in the group |
full_weight |
(bool) TRUE: average of the group will be weighted average |
List containing the arguments for the grp() function used within Rrepest() function's average() and group() options.
append(grp("OECD Average","CNTRY",c("HUN","MEX")), grp("Europe","CNTRY",c("ITA","FRA")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.