Description Usage Arguments Value
View source: R/garchitorena_models.R
Simulates discrete time version of the garchitorena model builds on 'garch_discrete_mod'
1 2 | sim_discrete_mod(I_0, time, model = garch_discrete_mod, parameters,
events_df = NA)
|
I_0 |
Initial value of prevalence |
time |
Total time (days) to simulate |
model |
Name of the discrete sim function to use, defaults to 'garch_discrete_mod' |
parameters |
Named vector or list of parameter values |
events_df |
Data frame of events such as MDA with columns "var", "time", "value" where var is the variable (state variable or parameter) affected, time is the time to implement the event, and value is the value of the change in the value of the variable or parameter as a proportion (e.g. between 0 and 1) |
dataframe of state variable values at requested times
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.