?xds_setup_cohort
Cohort Dynamics
In some cases, it’s useful to explore the relationship between exposure and malaria epidemiology by comparing different cohorts in the same population. For this, we developed some utilities for cohort dynamics that gete set up by xds_setup_cohort().
Models returned by xds_setup_cohort()
lack the MYZ and L components.
The function xds_setup_cohort()
differs from other trace functions in ramp.xds
in several ways. The function is defined with respect to age (
is a function that modifies the daily EIR with respect to age; is a seasonal pattern; is a trend.
Since the return value is a product, the defaults return
If you read Trace Functions, then you already know, in principle, how to configure make_function
. Configuration of xds_setup
, these are passed from setup:
F_season
is a function of time;season_par
is a parameter list formake_function
F_trend
is a function of time;trend_par
is a parameter list formake_function
F_age
is a function of age;age_par
is a parameter list formake_function
If season_par
or trend_par
or age_par
is not an empty list, then the resulting functions get set up by make_function
.
The function can be configured with a seasonal pattern (over time,