fitted_sero_cell_to_adm: Modify predictions of serology data points at 1/6 degree...

View source: R/average_up.R

fitted_sero_cell_to_admR Documentation

Modify predictions of serology data points at 1/6 degree resolution

Description

The function replaces the mean of all 1/6 degree predictions within adim unit 1 level serology data with the value of the prediction in 1/6 degree resolution cell where the original serology data point belongs. This allows to fit the serology data points as point data.

Usage

fitted_sero_cell_to_adm(join_all, sqr_dataset_2, fld_1, fld_2)

Arguments

join_all

dataframe of foi estimates and predictions at admin unit 1 resolution.

sqr_dataset_2

dataframe of foi estimates and predictions at 1/6 degree resolution.

fld_1

character strings of variables (columns names)

fld_2

character strings of variables (columns names)

Value

a joined dataframe


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