average_up: Aggregate FOI predictions at 1/6 degree resolutions to adim...

View source: R/average_up.R

average_upR Documentation

Aggregate FOI predictions at 1/6 degree resolutions to adim unit level

Description

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.

Usage

average_up(pxl_df, grp_flds, covariates_names)

Arguments

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.


lorecatta/DENVfoiMap documentation built on April 1, 2022, 4:05 p.m.