R/average_up.R
    average_up.RdThe function aggregates foi predictions at 1/6 degree resolutions to adim unit 1 level by taking the population-weighted average of the 1/6 degree resolution predictions within each admin unit 1.
average_up(pxl_df, grp_flds, covariates_names)
| pxl_df | dataframe of foi predictions at 1/6 degree resolution. | 
|---|---|
| grp_flds | character string of column names by which the 1/6 degree resolution predictions are aggregated by. | 
| covariates_names | character vector of covariates names. |