gen_force_fx: Generate seasonal model forcing function

Description Usage Arguments Value

View source: R/schisto_helper_functions.R

Description

Function to generate a seasonal forcing function based on the simulation time frame the parameter affected, and the phase of the seasonality. time_frame/freq should be a whole number indicating the number of seasonal cycles

Usage

1
gen_force_fx(burn_in, t_int, t_max, freq, par_set, par, par_change)

Arguments

burn_in

time period in the beginning to leave parameter unaffected if desired

t_int

time period during which intervention occurs

t_max

total time frame of simulation as numeric

freq

frequency of the seasonality

par_set

named vector of the parameter set that contains the parameter affected

par

character of the parameter in the parameter set that is affected

par_change

relative amplitude of the seasonal change in the parameter value

Value

Forcing function


cmhoove14/DDNTD documentation built on Nov. 23, 2019, 7:04 p.m.