average_up | R Documentation |
The 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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.