Package: hybridModels 0.3.8
hybridModels: An R Package for the Stochastic Simulation of Disease Spreading in Dynamic Networks
Simulates stochastic hybrid models for transmission of infectious diseases in dynamic networks. It is a metapopulation model in which each node in the network is a sub-population and disease spreads within nodes and among them, combining two approaches: stochastic simulation algorithm (<doi:10.1146/annurev.physchem.58.032806.104637>) and individual-based approach, respectively. Equations that models spread within nodes are customizable and there are two link types among nodes: migration and influence (commuting). More information in Fernando S. Marques, Jose H. H. Grisi-Filho, Marcos Amaku et al. (2020) <doi:10.18637/jss.v094.i06>.
Authors:
hybridModels_0.3.8.tar.gz
hybridModels_0.3.8.zip(r-4.7-any)hybridModels_0.3.8.zip(r-4.6-any)hybridModels_0.3.8.zip(r-4.5-any)
hybridModels_0.3.8.tgz(r-4.6-any)hybridModels_0.3.8.tgz(r-4.5-any)
hybridModels_0.3.8.tar.gz(r-4.7-any)hybridModels_0.3.8.tar.gz(r-4.6-any)
hybridModels_0.3.8.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
hybridModels/json (API)
| # Install 'hybridModels' in R: |
| install.packages('hybridModels', repos = c('https://fernandosm.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/fernandosm/hybridmodels/issues
- networkSample - Daily record of animal's movement (from 2012 to 2013).
- nodesCensus - Information about animal premises (from 2012 to 2013).
Last updated from:a2fed2d055. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 120 | ||
| source / vignettes | OK | 144 | ||
| linux-release | OK | 98 | ||
| macos-release | OK | 192 | ||
| macos-oldrel | OK | 194 | ||
| windows-devel | OK | 74 | ||
| windows-release | OK | 55 | ||
| windows-oldrel | OK | 62 | ||
| wasm-release | OK | 81 |
Exports:buildModelClassfindContactChainhybridModelsimHM
Dependencies:clicodetoolscpp11digestdoParalleldoRNGfarverforeachggplot2GillespieSSAgluegtableisobanditeratorslabelinglifecyclemagrittrplyrR6RColorBrewerRcppreshape2rlangrngtoolsS7scalesstringistringrvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| It builds an object of a pre-specified class. | buildModelClass buildModelClass.customInfl buildModelClass.customMigr buildModelClass.siWoDemogrInfl buildModelClass.siWoDemogrMigr |
| Finding elements in contact chains of a dynamic network. | findContactChain |
| Hybrid model simulation. | hybridModel |
| hybridModels: an R package for stochastic simulation of disease spreading in dynamic networks. | hybridModels |
| Daily record of animal's movement (from 2012 to 2013). | networkSample |
| Information about animal premises (from 2012 to 2013). | nodesCensus |
| Summary plots for hybrid Models | plot plot.HM |
| It runs the chosen hybrid model. | simHM simHM.customEmigrRule simHM.customEmigrRuleWeight simHM.customInfl simHM.customMigr simHM.customProbWeights simHM.siWoDemogrInfl simHM.siWoDemogrMigr |
| summary for hybrid models | summary summary.HM |