Description Usage Arguments Details Value Beta

Create a `SISe_sp`

model to be used by the simulation
framework.

1 2 3 4 |

`u0` |
A |

`tspan` |
A vector (length >= 2) of increasing time points
where the state of each node is to be returned. Can be either
an |

`events` |
a |

`phi` |
A numeric vector with the initial environmental infectious pressure in each node. Will be repeated to the length of nrow(u0). Default is NULL which gives 0 in each node. |

`upsilon` |
Indirect transmission rate of the environmental infectious pressure |

`gamma` |
The recovery rate from infected to susceptible |

`alpha` |
Shed rate from infected individuals |

`beta_t1` |
The decay of the environmental infectious pressure in interval 1. |

`beta_t2` |
The decay of the environmental infectious pressure in interval 2. |

`beta_t3` |
The decay of the environmental infectious pressure in interval 3. |

`beta_t4` |
The decay of the environmental infectious pressure in interval 4. |

`end_t1` |
vector with the non-inclusive day of the year that ends interval 1 in each node. Will be repeated to the length of nrow(u0). |

`end_t2` |
vector with the non-inclusive day of the year that ends interval 2 in each node. Will be repeated to the length of nrow(u0). |

`end_t3` |
vector with the non-inclusive day of the year that ends interval 3 in each node. Will be repeated to the length of nrow(u0). |

`end_t4` |
vector with the non-inclusive day of the year that ends interval 4 in each node. Will be repeated to the length of nrow(u0). |

`coupling` |
The coupling between neighboring nodes |

`distance` |
The distance matrix between neighboring nodes |

The argument `u0`

must be a `data.frame`

with one row for
each node with the following columns:

- S
The number of sucsceptible

- I
The number of infected

`SISe_sp`

The time dependent beta is divided into four intervals of the year

1 2 3 4 5 6 7 8 9 10 11 12 13 | ```
where 0 <= day < 365
Case 1: END_1 < END_2 < END_3 < END_4
INTERVAL_1 INTERVAL_2 INTERVAL_3 INTERVAL_4 INTERVAL_1
[0, END_1) [END_1, END_2) [END_2, END_3) [END_3, END_4) [END_4, 365)
Case 2: END_3 < END_4 < END_1 < END_2
INTERVAL_3 INTERVAL_4 INTERVAL_1 INTERVAL_2 INTERVAL_3
[0, END_3) [END_3, END_4) [END_4, END_1) [END_1, END_2) [END_2, 365)
Case 3: END_4 < END_1 < END_2 < END_3
INTERVAL_4 INTERVAL_1 INTERVAL_2 INTERVAL_3 INTERVAL_4
[0, END_4) [END_4, END_1) [END_1, END_2) [END_2, END_3) [END_3, 365)
``` |

SimInf documentation built on April 21, 2018, 1:04 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.