Skip to contents

Calculate FOI_spillover or R0 values from environmental covariates and coefficients

Usage

epi_param_calc(
  coeffs_const = c(0),
  coeffs_var = c(0),
  enviro_data_const = data.frame(),
  enviro_data_var = NULL
)

Arguments

coeffs_const

Vector of coefficients of time-invariant covariates

coeffs_var

Vector of coefficients of time-varying covariates

enviro_data_const

Data frame of time-invariant environmental covariate values, with region labels in first column and one row per region

enviro_data_var

List containing data on time-varying environmental covariates: [TBA] '

Details

Takes in environmental covariate values for one or more regions and coefficients of environmental covariates and calculates epidemiological parameter values via matrix multiplication. Environmental covariates may be constant or time-varying; constant and time-varying sets of values are supplied as separate input variables, as are coefficients of constant and time-varying covariates.

The function can accept [TBA]