{
  "_id": "6a1afcd71d7bb097a09fd7be",
  "Package": "SimInf",
  "Title": "A Framework for Data-Driven Stochastic Disease Spread\nSimulations",
  "Version": "10.1.0.9000",
  "Authors@R": "c(person(\"Stefan\", \"Widgren\", role = c(\"aut\", \"cre\"),\nemail = \"stefan.widgren@gmail.com\",\ncomment = c(ORCID = \"0000-0001-5745-2284\")),\nperson(\"Robin\", \"Eriksson\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-4291-712X\")),\nperson(\"Stefan\", \"Engblom\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-3614-1732\")),\nperson(\"Pavol\", \"Bauer\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-4328-7171\")),\nperson(\"Thomas\", \"Rosendal\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0002-6576-9668\")),\nperson(\"Ivana\", \"Rodriguez Ewerlöf\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0002-9678-9813\")),\nperson(\"Attractive Chaos\", role = \"cph\",\ncomment = \"Author of 'kvec.h'.\"))",
  "Description": "Provides an efficient and very flexible framework to\nconduct data-driven epidemiological modeling in realistic large\nscale disease spread simulations. The framework integrates\ninfection dynamics in subpopulations as continuous-time Markov\nchains using the Gillespie stochastic simulation algorithm and\nincorporates available data such as births, deaths and\nmovements as scheduled events at predefined time-points. Using\nC code for the numerical solvers and 'OpenMP' (if available) to\ndivide work over multiple processors ensures high performance\nwhen simulating a sample outcome. One of our design goals was\nto make the package extendable and enable usage of the\nnumerical solvers from other R extension packages in order to\nfacilitate complex epidemiological research. The package\ncontains template models and can be extended with user-defined\nmodels. For more details see the paper by Widgren, Bauer,\nEriksson and Engblom (2019) <doi:10.18637/jss.v091.i12>. The\npackage also provides functionality to fit models to time\nseries data using the Approximate Bayesian Computation\nSequential Monte Carlo ('ABC-SMC') algorithm of Toni and others\n(2009) <doi:10.1098/rsif.2008.0172> or the Particle Markov\nChain Monte Carlo ('PMCMC') algorithm of 'Andrieu' and others\n(2010) <doi:10.1111/j.1467-9868.2009.00736.x>.",
  "Acknowledgements": "This software has been made possible by support from\nthe Swedish Research Council within the UPMARC Linnaeus center\nof Excellence (Pavol Bauer, Robin Eriksson, and Stefan\nEngblom), the Swedish Research Council Formas (Stefan Engblom\nand Stefan Widgren), the Swedish Board of Agriculture (Stefan\nWidgren), the Swedish strategic research program eSSENCE\n(Stefan Widgren), and in the framework of the Full Force\nproject, supported by funding from the European Union’s Horizon\n2020 Research and Innovation programme under grant agreement No\n773830: One Health European Joint Programme (Stefan Widgren).",
  "License": "GPL-3",
  "URL": "https://github.com/stewid/SimInf, https://stewid.github.io/SimInf/",
  "BugReports": "https://github.com/stewid/SimInf/issues",
  "Type": "Package",
  "LazyData": "true",
  "Biarch": "true",
  "NeedsCompilation": "yes",
  "SystemRequirements": "GNU Scientific Library (GSL)",
  "Collate": "'C-generator.R' 'check_arguments.R' 'init.R' 'valid.R'\n'classes.R' 'SimInf_model.R' 'SEIR.R' 'SIR.R' 'SIS.R' 'SISe.R'\n'SISe3.R' 'SISe3_sp.R' 'SISe_sp.R' 'SimInf-package.R'\n'SimInf.R' 'SimInf_events.R' 'SimInf_individual_events.R'\n'run.R' 'density_ratio.R' 'abc.R' 'degree.R' 'distance.R'\n'distributions.R' 'edge_properties.R' 'lambert.R'\n'match_compartments.R' 'mparse.R' 'pmcmc.R' 'pfilter.R' 'n.R'\n'openmp.R' 'package_skeleton.R' 'plot.R' 'prevalence.R'\n'print.R' 'punchcard.R' 'trajectory.R' 'u0.R' 'v0.R'",
  "Encoding": "UTF-8",
  "VignetteBuilder": "utils, knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libgsl0-dev",
  "Repository": "https://stewid.r-universe.dev",
  "Date/Publication": "2026-05-30 07:41:09 UTC",
  "RemoteUrl": "https://github.com/stewid/siminf",
  "RemoteRef": "HEAD",
  "RemoteSha": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
  "Packaged": {
    "Date": "2026-05-30 09:56:33 UTC",
    "User": "root"
  },
  "Author": "Stefan Widgren [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5745-2284>),\nRobin Eriksson [aut] (ORCID: <https://orcid.org/0000-0002-4291-712X>),\nStefan Engblom [aut] (ORCID: <https://orcid.org/0000-0002-3614-1732>),\nPavol Bauer [aut] (ORCID: <https://orcid.org/0000-0003-4328-7171>),\nThomas Rosendal [ctb] (ORCID: <https://orcid.org/0000-0002-6576-9668>),\nIvana Rodriguez Ewerlöf [ctb] (ORCID:\n<https://orcid.org/0000-0002-9678-9813>),\nAttractive Chaos [cph] (Author of 'kvec.h'.)",
  "Maintainer": "Stefan Widgren <stefan.widgren@gmail.com>",
  "MD5sum": "80136c68232d3eedf407051dd032e890",
  "_user": "stewid",
  "_type": "src",
  "_file": "SimInf_10.1.0.9000.tar.gz",
  "_fileid": "973cee9fee01e8dc50f32a630126f27a294969752a248d2b27254cf730e3853e",
  "_filesize": 5191784,
  "_sha256": "973cee9fee01e8dc50f32a630126f27a294969752a248d2b27254cf730e3853e",
  "_created": "2026-05-30T09:56:33.000Z",
  "_published": "2026-05-30T15:05:59.003Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78641097659,
      "time": 195,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7307365487"
    },
    {
      "job": 78641097649,
      "time": 207,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7307603540"
    },
    {
      "job": 78641097655,
      "time": 190,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307365130"
    },
    {
      "job": 78641097641,
      "time": 198,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307602668"
    },
    {
      "job": 78641097640,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7309104584"
    },
    {
      "job": 78641097639,
      "time": 305,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7307511516"
    },
    {
      "job": 78641097648,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7309105302"
    },
    {
      "job": 78641097646,
      "time": 321,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307513565"
    },
    {
      "job": 78640143920,
      "time": 230,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307346671"
    },
    {
      "job": 78641097635,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307595016"
    },
    {
      "job": 78641097645,
      "time": 224,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7307606840"
    },
    {
      "job": 78641097642,
      "time": 214,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7307605879"
    },
    {
      "job": 78641097644,
      "time": 192,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307603904"
    }
  ],
  "_buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/stewid/siminf",
  "_commit": {
    "id": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
    "author": "Stefan Widgren <stefan.widgren@gmail.com>",
    "committer": "Stefan Widgren <stefan.widgren@gmail.com>",
    "message": "docs: use \"inserted\" instead of \"injected\" in pre_code documentation\n\nReplace \"injected\" with \"inserted\" for consistency with the earlier\nphrasing in the same parameter description (\"to be inserted into\").\nAlso aligns the wording across C_pre_code, C_code_mparse, and mparse.\n",
    "time": 1780126869
  },
  "_maintainer": {
    "name": "Stefan Widgren",
    "email": "stefan.widgren@gmail.com",
    "login": "stewid",
    "description": "",
    "uuid": 1815965,
    "orcid": "0000-0001-5745-2284"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "version": ">= 1.3-0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "stewid",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-29",
      "n": 16
    },
    {
      "week": "2025-30",
      "n": 172
    },
    {
      "week": "2025-31",
      "n": 17
    },
    {
      "week": "2025-33",
      "n": 3
    },
    {
      "week": "2025-34",
      "n": 2
    },
    {
      "week": "2025-35",
      "n": 2
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 5
    },
    {
      "week": "2025-38",
      "n": 5
    },
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 11
    },
    {
      "week": "2025-41",
      "n": 9
    },
    {
      "week": "2025-46",
      "n": 9
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 8
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 49
    },
    {
      "week": "2026-15",
      "n": 83
    },
    {
      "week": "2026-16",
      "n": 77
    },
    {
      "week": "2026-17",
      "n": 31
    },
    {
      "week": "2026-20",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v10.0.0",
      "date": "2025-11-13"
    },
    {
      "name": "v10.1.0",
      "date": "2025-11-16"
    }
  ],
  "_topics": [
    "data-driven",
    "epidemiology",
    "high-performance-computing",
    "markov-chain",
    "mathematical-modelling",
    "gsl",
    "openmp"
  ],
  "_stars": 37,
  "_contributors": [
    {
      "user": "stewid",
      "count": 4380,
      "uuid": 1815965
    },
    {
      "user": "robinmarin",
      "count": 28,
      "uuid": 11180297
    },
    {
      "user": "trosendal",
      "count": 16,
      "uuid": 3989235
    },
    {
      "user": "irewe",
      "count": 16,
      "uuid": 55791834
    },
    {
      "user": "tjmckinley",
      "count": 5,
      "uuid": 5519283
    },
    {
      "user": "alfredojavier55",
      "count": 1,
      "uuid": 68718651
    }
  ],
  "_userbio": {
    "uuid": 1815965,
    "type": "user",
    "name": "Stefan Widgren"
  },
  "_downloads": {
    "count": 368,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SimInf"
  },
  "_mentions": 10,
  "_devurl": "https://github.com/stewid/siminf",
  "_pkgdown": "https://stewid.github.io/SimInf/",
  "_searchresults": 202,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SimInf.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/stewid/siminf",
  "_realowner": "stewid",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2016-01-08"
    },
    {
      "version": "2.0.0",
      "date": "2016-05-04"
    },
    {
      "version": "3.0.0",
      "date": "2017-01-29"
    },
    {
      "version": "4.0.0",
      "date": "2017-03-21"
    },
    {
      "version": "5.0.0",
      "date": "2017-06-13"
    },
    {
      "version": "5.1.0",
      "date": "2017-10-18"
    },
    {
      "version": "6.0.0",
      "date": "2018-04-20"
    },
    {
      "version": "6.1.0",
      "date": "2018-08-13"
    },
    {
      "version": "6.2.0",
      "date": "2018-11-20"
    },
    {
      "version": "6.3.0",
      "date": "2019-05-26"
    },
    {
      "version": "6.4.0",
      "date": "2019-11-12"
    },
    {
      "version": "6.5.0",
      "date": "2020-03-29"
    },
    {
      "version": "6.5.1",
      "date": "2020-04-01"
    },
    {
      "version": "7.0.0",
      "date": "2020-05-23"
    },
    {
      "version": "7.0.1",
      "date": "2020-06-18"
    },
    {
      "version": "8.0.0",
      "date": "2020-09-13"
    },
    {
      "version": "8.1.0",
      "date": "2020-10-18"
    },
    {
      "version": "8.2.0",
      "date": "2020-12-06"
    },
    {
      "version": "8.3.0",
      "date": "2021-06-25"
    },
    {
      "version": "8.3.2",
      "date": "2021-06-30"
    },
    {
      "version": "8.4.0",
      "date": "2021-09-19"
    },
    {
      "version": "9.0.0",
      "date": "2022-04-20"
    },
    {
      "version": "9.1.0",
      "date": "2022-06-08"
    },
    {
      "version": "9.2.0",
      "date": "2022-09-03"
    },
    {
      "version": "9.3.1",
      "date": "2022-10-07"
    },
    {
      "version": "9.4.0",
      "date": "2023-01-06"
    },
    {
      "version": "9.5.0",
      "date": "2023-01-23"
    },
    {
      "version": "9.6.0",
      "date": "2023-12-20"
    },
    {
      "version": "9.7.0",
      "date": "2024-04-23"
    },
    {
      "version": "9.8.1",
      "date": "2024-06-21"
    },
    {
      "version": "10.0.0",
      "date": "2025-11-13"
    },
    {
      "version": "10.1.0",
      "date": "2025-11-18"
    }
  ],
  "_exports": [
    "abc",
    "add_spatial_coupling_to_ldata",
    "boxplot",
    "C_code",
    "continue_abc",
    "continue_pmcmc",
    "distance_matrix",
    "edge_properties_to_matrix",
    "events",
    "events_SEIR",
    "events_SIR",
    "events_SIS",
    "gdata",
    "gdata<-",
    "get_individuals",
    "indegree",
    "individual_events",
    "lambertW0",
    "ldata",
    "logLik",
    "mparse",
    "n_compartments",
    "n_generations",
    "n_nodes",
    "n_replicates",
    "node_events",
    "outdegree",
    "package_skeleton",
    "pairs",
    "pfilter",
    "plot",
    "pmcmc",
    "prevalence",
    "punchcard<-",
    "run",
    "SEIR",
    "select_matrix",
    "select_matrix<-",
    "set_num_threads",
    "shift_matrix",
    "shift_matrix<-",
    "show",
    "SimInf_events",
    "SimInf_model",
    "SIR",
    "SIS",
    "SISe",
    "SISe_sp",
    "SISe3",
    "SISe3_sp",
    "summary",
    "trajectory",
    "u0",
    "u0_from_individual_events",
    "u0_SEIR",
    "u0_SIR",
    "u0_SIS",
    "u0<-",
    "v0<-"
  ],
  "_datasets": [
    {
      "name": "events_SISe3",
      "title": "Example event data for the SISe3 model with cattle herds",
      "object": "events_SISe3",
      "class": [
        "data.frame"
      ],
      "fields": [
        "event",
        "time",
        "node",
        "dest",
        "n",
        "proportion",
        "select",
        "shift"
      ],
      "rows": 783773,
      "table": true,
      "tojson": true
    },
    {
      "name": "nodes",
      "title": "Example data with spatial distribution of nodes",
      "object": "nodes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "y"
      ],
      "rows": 1600,
      "table": true,
      "tojson": true
    },
    {
      "name": "u0_SISe3",
      "title": "Example initial population data for the SISe3 model",
      "object": "u0_SISe3",
      "class": [
        "data.frame"
      ],
      "fields": [
        "S_1",
        "S_2",
        "S_3",
        "I_1",
        "I_2",
        "I_3"
      ],
      "rows": 1600,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "abc",
      "title": "Approximate Bayesian computation",
      "topics": [
        "abc",
        "abc,SimInf_model-method"
      ]
    },
    {
      "page": "add_spatial_coupling_to_ldata",
      "title": "Add spatial coupling information to local data",
      "topics": [
        "add_spatial_coupling_to_ldata"
      ]
    },
    {
      "page": "as.data.frame.SimInf_abc",
      "title": "Coerce a 'SimInf_abc' object to a 'data.frame'",
      "topics": [
        "as.data.frame.SimInf_abc"
      ]
    },
    {
      "page": "as.data.frame.SimInf_events",
      "title": "Coerce a 'SimInf_events' object to a 'data.frame'",
      "topics": [
        "as.data.frame.SimInf_events"
      ]
    },
    {
      "page": "as.data.frame.SimInf_individual_events",
      "title": "Coerce a 'SimInf_individual_events' object to a 'data.frame'",
      "topics": [
        "as.data.frame.SimInf_individual_events"
      ]
    },
    {
      "page": "as.data.frame.SimInf_pmcmc",
      "title": "Coerce a 'SimInf_pmcmc' object to a 'data.frame'",
      "topics": [
        "as.data.frame.SimInf_pmcmc"
      ]
    },
    {
      "page": "boxplot-SimInf_model-method",
      "title": "Box plot of number of individuals in each compartment",
      "topics": [
        "boxplot,SimInf_model-method"
      ]
    },
    {
      "page": "C_code",
      "title": "Extract the C code from a 'SimInf_model' object",
      "topics": [
        "C_code"
      ]
    },
    {
      "page": "continue_abc",
      "title": "Run more generations of ABC SMC",
      "topics": [
        "continue_abc",
        "continue_abc,SimInf_abc-method"
      ]
    },
    {
      "page": "continue_pmcmc",
      "title": "Continue PMCMC from an Existing Chain",
      "topics": [
        "continue_pmcmc",
        "continue_pmcmc,SimInf_pmcmc-method"
      ]
    },
    {
      "page": "distance_matrix",
      "title": "Create a distance matrix between nodes for spatial models",
      "topics": [
        "distance_matrix"
      ]
    },
    {
      "page": "edge_properties_to_matrix",
      "title": "Convert an edge list with properties to a matrix",
      "topics": [
        "edge_properties_to_matrix"
      ]
    },
    {
      "page": "events",
      "title": "Extract the scheduled events from a 'SimInf_model' object",
      "topics": [
        "events",
        "events,SimInf_model-method"
      ]
    },
    {
      "page": "events_SEIR",
      "title": "Example event data for the SEIR model with cattle herds",
      "topics": [
        "events_SEIR"
      ]
    },
    {
      "page": "events_SIR",
      "title": "Example event data for the SIR model with cattle herds",
      "topics": [
        "events_SIR"
      ]
    },
    {
      "page": "events_SIS",
      "title": "Example event data for the SIS model with cattle herds",
      "topics": [
        "events_SIS"
      ]
    },
    {
      "page": "events_SISe3",
      "title": "Example event data for the SISe3 model with cattle herds",
      "topics": [
        "events_SISe3"
      ]
    },
    {
      "page": "gdata",
      "title": "Extract global data from a 'SimInf_model' object",
      "topics": [
        "gdata",
        "gdata,SimInf_model-method"
      ]
    },
    {
      "page": "gdata-set",
      "title": "Set a global data parameter for a 'SimInf_model' object",
      "topics": [
        "gdata<-",
        "gdata<-,SimInf_model-method"
      ]
    },
    {
      "page": "get_individuals",
      "title": "Extract individuals from 'SimInf_individual_events'",
      "topics": [
        "get_individuals",
        "get_individuals,SimInf_individual_events-method"
      ]
    },
    {
      "page": "indegree",
      "title": "Determine in-degree for each node in a model",
      "topics": [
        "indegree"
      ]
    },
    {
      "page": "individual_events",
      "title": "Individual events",
      "topics": [
        "individual_events"
      ]
    },
    {
      "page": "lambertW0",
      "title": "Lambert W0 function",
      "topics": [
        "lambertW0"
      ]
    },
    {
      "page": "ldata",
      "title": "Extract local data from a node",
      "topics": [
        "ldata",
        "ldata,SimInf_model-method"
      ]
    },
    {
      "page": "length-SimInf_pmcmc-method",
      "title": "Length of the MCMC chain",
      "topics": [
        "length,SimInf_pmcmc-method"
      ]
    },
    {
      "page": "logLik-SimInf_pfilter-method",
      "title": "Log likelihood",
      "topics": [
        "logLik,SimInf_pfilter-method"
      ]
    },
    {
      "page": "mparse",
      "title": "Model parser to define new models for 'SimInf'",
      "topics": [
        "mparse"
      ]
    },
    {
      "page": "n_compartments",
      "title": "Determine the number of compartments in a model",
      "topics": [
        "n_compartments",
        "n_compartments,SimInf_model-method"
      ]
    },
    {
      "page": "n_generations",
      "title": "Determine the number of generations in an ABC analysis",
      "topics": [
        "n_generations",
        "n_generations,SimInf_abc-method"
      ]
    },
    {
      "page": "n_nodes",
      "title": "Determine the number of nodes in a model",
      "topics": [
        "n_nodes",
        "n_nodes,SimInf_model-method",
        "n_nodes,SimInf_pfilter-method",
        "n_nodes,SimInf_pmcmc-method"
      ]
    },
    {
      "page": "n_replicates",
      "title": "Determine the number of replicates in a model",
      "topics": [
        "n_replicates",
        "n_replicates,SimInf_model-method"
      ]
    },
    {
      "page": "node_events",
      "title": "Transform individual events to node events for a model",
      "topics": [
        "node_events",
        "node_events,SimInf_individual_events-method"
      ]
    },
    {
      "page": "nodes",
      "title": "Example data with spatial distribution of nodes",
      "topics": [
        "nodes"
      ]
    },
    {
      "page": "outdegree",
      "title": "Determine out-degree for each node in a model",
      "topics": [
        "outdegree"
      ]
    },
    {
      "page": "package_skeleton",
      "title": "Create a package skeleton from a 'SimInf_model'",
      "topics": [
        "package_skeleton"
      ]
    },
    {
      "page": "pairs-SimInf_model-method",
      "title": "Scatterplot matrix of number of individuals in each compartment",
      "topics": [
        "pairs,SimInf_model-method"
      ]
    },
    {
      "page": "pfilter",
      "title": "Bootstrap particle filter",
      "topics": [
        "pfilter",
        "pfilter,SimInf_model-method"
      ]
    },
    {
      "page": "plot-SimInf_abc-method",
      "title": "Display the ABC posterior distribution",
      "topics": [
        "plot,SimInf_abc-method"
      ]
    },
    {
      "page": "plot-SimInf_events-method",
      "title": "Display the distribution of scheduled events over time",
      "topics": [
        "plot,SimInf_events-method"
      ]
    },
    {
      "page": "plot-SimInf_individual_events-method",
      "title": "Display the distribution of individual events over time",
      "topics": [
        "plot,SimInf_individual_events-method"
      ]
    },
    {
      "page": "plot",
      "title": "Display the outcome from a simulated trajectory",
      "topics": [
        "plot,SimInf_model-method"
      ]
    },
    {
      "page": "plot-SimInf_pfilter-method",
      "title": "Diagnostic plot of a particle filter object",
      "topics": [
        "plot,SimInf_pfilter-method"
      ]
    },
    {
      "page": "plot-SimInf_pmcmc-method",
      "title": "Display the PMCMC posterior distribution",
      "topics": [
        "plot,SimInf_pmcmc-method"
      ]
    },
    {
      "page": "pmcmc",
      "title": "Particle Markov chain Monte Carlo (PMCMC) algorithm",
      "topics": [
        "pmcmc",
        "pmcmc,SimInf_model-method"
      ]
    },
    {
      "page": "prevalence",
      "title": "Generic function to calculate prevalence from trajectory data",
      "topics": [
        "prevalence"
      ]
    },
    {
      "page": "prevalence-SimInf_model-method",
      "title": "Calculate prevalence from a model object with trajectory data",
      "topics": [
        "prevalence,SimInf_model-method"
      ]
    },
    {
      "page": "prevalence-SimInf_pfilter-method",
      "title": "Extract prevalence from running a particle filter",
      "topics": [
        "prevalence,SimInf_pfilter-method"
      ]
    },
    {
      "page": "prevalence-SimInf_pmcmc-method",
      "title": "Extract prevalence from fitting a PMCMC algorithm",
      "topics": [
        "prevalence,SimInf_pmcmc-method"
      ]
    },
    {
      "page": "punchcard-set",
      "title": "Set a sparse recording template for simulation results",
      "topics": [
        "punchcard<-",
        "punchcard<-,SimInf_model-method"
      ]
    },
    {
      "page": "run",
      "title": "Run the SimInf stochastic simulation algorithm",
      "topics": [
        "run",
        "run,SEIR-method",
        "run,SimInf_abc-method",
        "run,SimInf_model-method",
        "run,SIR-method",
        "run,SIS-method",
        "run,SISe-method",
        "run,SISe3-method",
        "run,SISe3_sp-method",
        "run,SISe_sp-method"
      ]
    },
    {
      "page": "SEIR",
      "title": "Create an SEIR model",
      "topics": [
        "SEIR"
      ]
    },
    {
      "page": "SEIR-class",
      "title": "Class SEIR",
      "topics": [
        "SEIR-class"
      ]
    },
    {
      "page": "select_matrix",
      "title": "Extract the select matrix from a 'SimInf_model' object",
      "topics": [
        "select_matrix",
        "select_matrix,SimInf_model-method"
      ]
    },
    {
      "page": "select_matrix-set",
      "title": "Set the select matrix for a 'SimInf_model' object",
      "topics": [
        "select_matrix<-",
        "select_matrix<-,SimInf_model-method"
      ]
    },
    {
      "page": "set_num_threads",
      "title": "Specify the number of threads that SimInf should use",
      "topics": [
        "set_num_threads"
      ]
    },
    {
      "page": "shift_matrix",
      "title": "Extract the shift matrix from a 'SimInf_model' object",
      "topics": [
        "shift_matrix",
        "shift_matrix,SimInf_model-method"
      ]
    },
    {
      "page": "shift_matrix-set",
      "title": "Set the shift matrix for a 'SimInf_model' object",
      "topics": [
        "shift_matrix<-",
        "shift_matrix<-,SimInf_model-method"
      ]
    },
    {
      "page": "show-SimInf_abc-method",
      "title": "Print summary of a 'SimInf_abc' object",
      "topics": [
        "show,SimInf_abc-method"
      ]
    },
    {
      "page": "show-SimInf_events-method",
      "title": "Brief summary of 'SimInf_events'",
      "topics": [
        "show,SimInf_events-method"
      ]
    },
    {
      "page": "show-SimInf_individual_events-method",
      "title": "Print summary of a 'SimInf_individual_events' object",
      "topics": [
        "show,SimInf_individual_events-method"
      ]
    },
    {
      "page": "show-SimInf_model-method",
      "title": "Brief summary of 'SimInf_model'",
      "topics": [
        "show,SimInf_model-method"
      ]
    },
    {
      "page": "show-SimInf_pfilter-method",
      "title": "Brief summary of a 'SimInf_pfilter' object",
      "topics": [
        "show,SimInf_pfilter-method"
      ]
    },
    {
      "page": "show-SimInf_pmcmc-method",
      "title": "Brief summary of a 'SimInf_pmcmc' object",
      "topics": [
        "show,SimInf_pmcmc-method"
      ]
    },
    {
      "page": "SimInf",
      "title": "A Framework for Data-Driven Stochastic Disease Spread Simulations",
      "topics": [
        "SimInf-package",
        "SimInf"
      ]
    },
    {
      "page": "SimInf_abc-class",
      "title": "Class 'SimInf_abc'",
      "topics": [
        "SimInf_abc-class"
      ]
    },
    {
      "page": "SimInf_events",
      "title": "Create a 'SimInf_events' object",
      "topics": [
        "SimInf_events"
      ]
    },
    {
      "page": "SimInf_events-class",
      "title": "Class 'SimInf_events'",
      "topics": [
        "SimInf_events-class"
      ]
    },
    {
      "page": "SimInf_individual_events-class",
      "title": "Class 'SimInf_individual_events'",
      "topics": [
        "SimInf_individual_events-class"
      ]
    },
    {
      "page": "SimInf_model",
      "title": "Create a 'SimInf_model' object",
      "topics": [
        "SimInf_model"
      ]
    },
    {
      "page": "SimInf_model-class",
      "title": "Class 'SimInf_model'",
      "topics": [
        "SimInf_model-class"
      ]
    },
    {
      "page": "SimInf_pfilter-class",
      "title": "Class '\"SimInf_pfilter\"'",
      "topics": [
        "SimInf_pfilter-class"
      ]
    },
    {
      "page": "SimInf_pmcmc-class",
      "title": "Class 'SimInf_pmcmc'",
      "topics": [
        "SimInf_pmcmc-class"
      ]
    },
    {
      "page": "SIR",
      "title": "Create an SIR model",
      "topics": [
        "SIR"
      ]
    },
    {
      "page": "SIR-class",
      "title": "Class SIR",
      "topics": [
        "SIR-class"
      ]
    },
    {
      "page": "SIS",
      "title": "Create an SIS model",
      "topics": [
        "SIS"
      ]
    },
    {
      "page": "SIS-class",
      "title": "Class SIS",
      "topics": [
        "SIS-class"
      ]
    },
    {
      "page": "SISe",
      "title": "Create an SISe model",
      "topics": [
        "SISe"
      ]
    },
    {
      "page": "SISe_sp",
      "title": "Create an SISe_sp model",
      "topics": [
        "SISe_sp"
      ]
    },
    {
      "page": "SISe_sp-class",
      "title": "Class SISe_sp",
      "topics": [
        "SISe_sp-class"
      ]
    },
    {
      "page": "SISe-class",
      "title": "Class SISe",
      "topics": [
        "SISe-class"
      ]
    },
    {
      "page": "SISe3",
      "title": "Create a 'SISe3' model",
      "topics": [
        "SISe3"
      ]
    },
    {
      "page": "SISe3_sp",
      "title": "Create an SISe3_sp model",
      "topics": [
        "SISe3_sp"
      ]
    },
    {
      "page": "SISe3_sp-class",
      "title": "Class SISe3_sp",
      "topics": [
        "SISe3_sp-class"
      ]
    },
    {
      "page": "SISe3-class",
      "title": "Class SISe3",
      "topics": [
        "SISe3-class"
      ]
    },
    {
      "page": "summary-SimInf_abc-method",
      "title": "Detailed summary of a 'SimInf_abc' object",
      "topics": [
        "summary,SimInf_abc-method"
      ]
    },
    {
      "page": "summary-SimInf_events-method",
      "title": "Detailed summary of a 'SimInf_events' object",
      "topics": [
        "summary,SimInf_events-method"
      ]
    },
    {
      "page": "summary-SimInf_individual_events-method",
      "title": "Detailed summary of a 'SimInf_individual_events' object",
      "topics": [
        "summary,SimInf_individual_events-method"
      ]
    },
    {
      "page": "summary-SimInf_model-method",
      "title": "Detailed summary of a 'SimInf_model' object",
      "topics": [
        "summary,SimInf_model-method"
      ]
    },
    {
      "page": "summary-SimInf_pfilter-method",
      "title": "Detailed summary of a 'SimInf_pfilter' object",
      "topics": [
        "summary,SimInf_pfilter-method"
      ]
    },
    {
      "page": "summary-SimInf_pmcmc-method",
      "title": "Detailed summary of a 'SimInf_pmcmc' object",
      "topics": [
        "summary,SimInf_pmcmc-method"
      ]
    },
    {
      "page": "trajectory",
      "title": "Generic function to extract data from a simulated trajectory",
      "topics": [
        "trajectory"
      ]
    },
    {
      "page": "trajectory-SimInf_model-method",
      "title": "Extract data from a simulated trajectory",
      "topics": [
        "trajectory,SimInf_model-method"
      ]
    },
    {
      "page": "trajectory-SimInf_pfilter-method",
      "title": "Extract filtered trajectory from running a particle filter",
      "topics": [
        "trajectory,SimInf_pfilter-method"
      ]
    },
    {
      "page": "u0",
      "title": "Get the initial compartment state ('u0') in each node",
      "topics": [
        "u0",
        "u0,SimInf_model-method"
      ]
    },
    {
      "page": "u0_from_individual_events",
      "title": "Derive the initial compartment state from individual events",
      "topics": [
        "u0_from_individual_events",
        "u0_from_individual_events,data.frame-method",
        "u0_from_individual_events,SimInf_individual_events-method"
      ]
    },
    {
      "page": "u0_SEIR",
      "title": "Example initial population data for the SEIR model",
      "topics": [
        "u0_SEIR"
      ]
    },
    {
      "page": "u0_SIR",
      "title": "Example initial population data for the SIR model",
      "topics": [
        "u0_SIR"
      ]
    },
    {
      "page": "u0_SIS",
      "title": "Example initial population data for the SIS model",
      "topics": [
        "u0_SIS"
      ]
    },
    {
      "page": "u0_SISe3",
      "title": "Example initial population data for the SISe3 model",
      "topics": [
        "u0_SISe3"
      ]
    },
    {
      "page": "u0-set",
      "title": "Update the initial compartment state ('u0') in each node",
      "topics": [
        "u0<-",
        "u0<-,SimInf_model-method"
      ]
    },
    {
      "page": "v0-set",
      "title": "Update the initial continuous state ('v0') in each node",
      "topics": [
        "v0<-",
        "v0<-,SimInf_model-method"
      ]
    }
  ],
  "_readme": "https://github.com/stewid/siminf/raw/HEAD/README.md",
  "_rundeps": [
    "digest",
    "lattice",
    "MASS",
    "Matrix"
  ],
  "_sysdeps": [
    {
      "shlib": "libgsl",
      "package": "libgsl27",
      "headers": "libgsl-dev",
      "source": "gsl",
      "version": "2.7.1+dfsg-6ubuntu2",
      "name": "gsl",
      "homepage": "https://www.gnu.org/software/gsl",
      "description": "GNU Scientific Library (GSL) -- library package"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "mparse.Rmd",
      "filename": "mparse.html",
      "title": "Getting started with mparse",
      "author": "Stefan Widgren ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "The Basic Syntax: Transitions",
        "A Simple SI Model",
        "Adding Recovery: The SIR Model",
        "Defining Variables and Population Size",
        "Defining the Total Population",
        "Data Types: Integer vs. Double",
        "Creating and Running the Model",
        "Handling Edge Cases: Division by Zero",
        "Creating the Model",
        "Incorporating Global and Local Data",
        "A Two-Farm Model",
        "Defining Global and Local Data",
        "Initial Conditions for Multiple Nodes",
        "Modeling Open Populations: The Empty Set",
        "Example: Predator-Prey Dynamics",
        "Non-Exponential Passage Times (Erlang Distribution)"
      ],
      "created": "2021-02-06 09:57:53",
      "modified": "2026-04-14 16:14:06",
      "commits": 16
    },
    {
      "source": "post-process-data.Rmd",
      "filename": "post-process-data.html",
      "title": "Post-process data in a trajectory",
      "author": "Stefan Widgren ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Extract trajectory data with trajectory()",
        "Calculate prevalence from a trajectory using prevalence()",
        "Visualize a trajectory with plot()",
        "Aggregated View (Median and Range)",
        "Individual Node View",
        "Prevalence Plots",
        "Summary"
      ],
      "created": "2021-02-06 09:57:53",
      "modified": "2026-04-07 05:56:31",
      "commits": 5
    },
    {
      "source": "scheduled-events.Rmd",
      "filename": "scheduled-events.html",
      "title": "Scheduled events",
      "author": "Stefan Widgren ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "A first example: External transfer events",
        "Varying probability of picking individuals",
        "Enter events: Adding individuals",
        "Example: Births entering a population",
        "Weighted sampling for enter events",
        "Exit events: Removing individuals",
        "Example: Mortality",
        "Weighted sampling for exit events",
        "Internal transfer events: Moving within a node",
        "Example: Vaccination of cattle herd",
        "Stochastic events using proportion",
        "Example: Proportional culling",
        "Processing order of simultaneous events",
        "Example: Multiple events at the same time",
        "Summary"
      ],
      "created": "2021-02-06 09:57:53",
      "modified": "2026-04-07 21:39:32",
      "commits": 28
    },
    {
      "source": "SimInf.Rnw",
      "filename": "SimInf.pdf",
      "title": "SimInf: An R Package for Data-Driven Stochastic Disease Spread Simulations",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2017-03-26 11:04:23",
      "modified": "2026-04-14 20:25:12",
      "commits": 174
    }
  ],
  "_score": 10.23528092953121,
  "_indexed": true,
  "_nocasepkg": "siminf",
  "_universes": [
    "stewid"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "10.1.0.9000",
      "date": "2026-05-30T09:59:00.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
      "fileid": "8f9980a4705dd2a07cd47761274d0734278fc6681376012a6400630e9e111150",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "10.1.0.9000",
      "date": "2026-05-30T10:42:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
      "fileid": "b3dfee718e4643395ae40171597c81c55860e435ca5ab4e243eac612d253dc48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "10.1.0.9000",
      "date": "2026-05-30T09:59:03.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
      "fileid": "32bff23799a767a7b72f7ec8047a714cf3b408afb7a1a57f35e1058328d508b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "10.1.0.9000",
      "date": "2026-05-30T10:42:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
      "fileid": "8ec6737a5ce0f0f9d8174aafc19c8f4ce95053124ae71e999bc1825c2d201928",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "10.1.0.9000",
      "date": "2026-05-30T15:04:16.000Z",
      "arch": "aarch64",
      "commit": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
      "fileid": "a41375a3abf9cd6f2690e7f064cf76dbb7dc596ff0a2985ced3a394962ab0ecc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "10.1.0.9000",
      "date": "2026-05-30T10:25:37.000Z",
      "arch": "x86_64",
      "commit": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
      "fileid": "fdb6f4ee035d2153a1bd9b2abd9a58fa3595dda5a69618fca064c1305426499a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "10.1.0.9000",
      "date": "2026-05-30T15:04:12.000Z",
      "arch": "aarch64",
      "commit": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
      "fileid": "5755deaf3a4eda599f7e79558b121dfac11821ebc3876bbab2851ce95f43b5e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "10.1.0.9000",
      "date": "2026-05-30T10:25:41.000Z",
      "arch": "x86_64",
      "commit": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
      "fileid": "bea4a133a857b3239628ff3a3a44e02c9a825b5766f3533bf56bab78fa3ad2fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "10.1.0.9000",
      "date": "2026-05-30T10:42:29.000Z",
      "arch": "emscripten",
      "commit": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
      "fileid": "765a8d89263be53d893dc244e085f5a80d231fe0e3c92daab9e1aaeba630f3ce",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "10.1.0.9000",
      "date": "2026-05-30T10:42:05.000Z",
      "arch": "x86_64",
      "commit": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
      "fileid": "e1302d6942e5f297eca2951318bb9e7844901f1a34d32f6a5a22f9d9e58e8825",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "10.1.0.9000",
      "date": "2026-05-30T10:41:53.000Z",
      "arch": "x86_64",
      "commit": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
      "fileid": "e6136542dc3402e6b623f0be49c603178cd89c796f25cfb0ad97e35eb2c4d963",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "10.1.0.9000",
      "date": "2026-05-30T10:41:49.000Z",
      "arch": "x86_64",
      "commit": "788bb3a28337ad76a55a3ff26b1a1c5f75ca0cda",
      "fileid": "5e79fb661d2ebaea31e444563772d1bffd5a4895e3d72a34114c5f31a30e0e2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stewid/actions/runs/26680275213"
    }
  ]
}