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:Fernando S. Marques [aut, cre], Jose H. H. Grisi-Filho [aut], Marcos Amaku [aut]

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

Datasets:
  • networkSample - Daily record of animal's movement (from 2012 to 2013).
  • nodesCensus - Information about animal premises (from 2012 to 2013).

On CRAN:

Conda:

3.18 score 3 stars 4 scripts 365 downloads 4 exports 31 dependencies

Last updated from:a2fed2d055. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK120
source / vignettesOK144
linux-releaseOK98
macos-releaseOK192
macos-oldrelOK194
windows-develOK74
windows-releaseOK55
windows-oldrelOK62
wasm-releaseOK81

Exports:buildModelClassfindContactChainhybridModelsimHM

Dependencies:clicodetoolscpp11digestdoParalleldoRNGfarverforeachggplot2GillespieSSAgluegtableisobanditeratorslabelinglifecyclemagrittrplyrR6RColorBrewerRcppreshape2rlangrngtoolsS7scalesstringistringrvctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
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 Modelsplot 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 modelssummary summary.HM