Group Averages
average_groups(
res,
data = NULL,
group,
by = NULL,
over = NULL,
est = NULL,
svy = NULL,
user_na = FALSE,
...
)
Dataframe with avergas or weighted averages (totals) in last rows for the selected cases
(dataframe) df of results with b. and se. to average
(dataframe) df from which to get replicated weights
(grp function) that takes arguments group.name, column, cases to create averages at the end of dataframe
(string vector) column in which we'll break down results
(vector string) columns over which to do analysis
(est function) that takes arguments what = estimate, tgt = target, rgr = regressor
(string) name of possible projects to analyse TALISSCH and TALISTCH
(bool) TRUE: show nature of user defined missing values for by.var
Additional arguments such as na_to_zero : (Bool) TRUE → will take NA as zero for the simple average calculation