{
  "_id": "6a3136943efcd9bda436161e",
  "Package": "SimInf",
  "Title": "A Framework for Data-Driven Stochastic Disease Spread\nSimulations",
  "Version": "10.1.0",
  "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, http://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",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "utils, knitr",
  "Packaged": {
    "Date": "2026-06-16 11:37:40 UTC",
    "User": "root"
  },
  "Author": "Stefan Widgren [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5745-2284>), Robin Eriksson [aut]\n(ORCID: <https://orcid.org/0000-0002-4291-712X>), Stefan\nEngblom [aut] (ORCID: <https://orcid.org/0000-0002-3614-1732>),\nPavol Bauer [aut] (ORCID:\n<https://orcid.org/0000-0003-4328-7171>), Thomas Rosendal [ctb]\n(ORCID: <https://orcid.org/0000-0002-6576-9668>), Ivana\nRodriguez Ewerlöf [ctb] (ORCID:\n<https://orcid.org/0000-0002-9678-9813>), Attractive Chaos\n[cph] (Author of 'kvec.h'.)",
  "Maintainer": "Stefan Widgren <stefan.widgren@gmail.com>",
  "Config/pak/sysreqs": "libgsl0-dev",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-11-17 21:51:33 UTC",
  "RemoteUrl": "https://github.com/cran/SimInf",
  "RemoteRef": "HEAD",
  "RemoteSha": "2b3fb32c3891b69abbe33930df8c8de8c980bccd",
  "MD5sum": "7f40b2bb5ad4ff220192b1f84d8720c9",
  "_user": "cran",
  "_type": "src",
  "_file": "SimInf_10.1.0.tar.gz",
  "_fileid": "71ee7e4392c63ad6b00f694d6defca7bdb91dad38a40da9649a667397246ee2a",
  "_filesize": 4254106,
  "_sha256": "71ee7e4392c63ad6b00f694d6defca7bdb91dad38a40da9649a667397246ee2a",
  "_created": "2026-06-16T11:37:40.000Z",
  "_published": "2026-06-16T11:42:12.926Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81647864929,
      "time": 187,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7665679457"
    },
    {
      "job": 81647864964,
      "time": 211,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7665686869"
    },
    {
      "job": 81647864972,
      "time": 187,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7665679717"
    },
    {
      "job": 81647865167,
      "time": 207,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7665686699"
    },
    {
      "job": 81647217705,
      "time": 216,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7665613119"
    },
    {
      "job": 81647864913,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7665656666"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27614568969",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/SimInf",
  "_commit": {
    "id": "2b3fb32c3891b69abbe33930df8c8de8c980bccd",
    "author": "Stefan Widgren <stefan.widgren@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 10.1.0\n",
    "time": 1763416293
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "10.0.0",
      "date": "2025-11-13"
    },
    {
      "name": "10.1.0",
      "date": "2025-11-17"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "stewid",
      "count": 32,
      "uuid": 1815965
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 609,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 547,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SimInf"
  },
  "_mentions": 10,
  "_devurl": "https://github.com/stewid/siminf",
  "_pkgdown": "http://stewid.github.io/SimInf/",
  "_searchresults": 189,
  "_topics": [
    "gsl",
    "openmp"
  ],
  "_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": false,
  "_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",
    "events_SISe",
    "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_SEIR",
    "u0_SIR",
    "u0_SIS",
    "u0_SISe",
    "u0<-",
    "v0<-"
  ],
  "_datasets": [
    {
      "name": "events_SISe3",
      "title": "Example data to initialize events for the 'SISe3' model",
      "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 data to initialize 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 information about spatial coupling between nodes to 'ldata'",
      "topics": [
        "add_spatial_coupling_to_ldata"
      ]
    },
    {
      "page": "as.data.frame.SimInf_abc",
      "title": "Coerce to data frame",
      "topics": [
        "as.data.frame.SimInf_abc"
      ]
    },
    {
      "page": "as.data.frame.SimInf_events",
      "title": "Coerce events to a data frame",
      "topics": [
        "as.data.frame.SimInf_events"
      ]
    },
    {
      "page": "as.data.frame.SimInf_individual_events",
      "title": "Coerce to data frame",
      "topics": [
        "as.data.frame.SimInf_individual_events"
      ]
    },
    {
      "page": "as.data.frame.SimInf_pmcmc",
      "title": "Coerce to 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": "Run more iterations of PMCMC",
      "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 events from a 'SimInf_model' object",
      "topics": [
        "events",
        "events,SimInf_model-method"
      ]
    },
    {
      "page": "events_SEIR",
      "title": "Example data to initialize events for the 'SEIR' model",
      "topics": [
        "events_SEIR"
      ]
    },
    {
      "page": "events_SIR",
      "title": "Example data to initialize events for the 'SIR' model",
      "topics": [
        "events_SIR"
      ]
    },
    {
      "page": "events_SIS",
      "title": "Example data to initialize events for the 'SIS' model",
      "topics": [
        "events_SIS"
      ]
    },
    {
      "page": "events_SISe",
      "title": "Example data to initialize events for the 'SISe' model",
      "topics": [
        "events_SISe"
      ]
    },
    {
      "page": "events_SISe3",
      "title": "Example data to initialize events for the 'SISe3' model",
      "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 to run in '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",
      "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 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 template for where to record result during a simulation",
      "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": "Definition of the 'SEIR' model",
      "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'",
      "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": "Definition of the SIR model",
      "topics": [
        "SIR-class"
      ]
    },
    {
      "page": "SIS",
      "title": "Create an SIS model",
      "topics": [
        "SIS"
      ]
    },
    {
      "page": "SIS-class",
      "title": "Definition of the SIS model",
      "topics": [
        "SIS-class"
      ]
    },
    {
      "page": "SISe",
      "title": "Create a SISe model",
      "topics": [
        "SISe"
      ]
    },
    {
      "page": "SISe_sp",
      "title": "Create a 'SISe_sp' model",
      "topics": [
        "SISe_sp"
      ]
    },
    {
      "page": "SISe_sp-class",
      "title": "Definition of the 'SISe_sp' model",
      "topics": [
        "SISe_sp-class"
      ]
    },
    {
      "page": "SISe-class",
      "title": "Definition of the 'SISe' model",
      "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": "Definition of the 'SISe3_sp' model",
      "topics": [
        "SISe3_sp-class"
      ]
    },
    {
      "page": "SISe3-class",
      "title": "Definition of the 'SISe3' model",
      "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": "trajectory-SimInf_pmcmc-method",
      "title": "Extract filtered trajectories from fitting a PMCMC algorithm",
      "topics": [
        "trajectory,SimInf_pmcmc-method"
      ]
    },
    {
      "page": "u0",
      "title": "Get the initial compartment state",
      "topics": [
        "u0",
        "u0,SimInf_individual_events-method",
        "u0,SimInf_model-method"
      ]
    },
    {
      "page": "u0_SEIR",
      "title": "Example data to initialize the 'SEIR' model",
      "topics": [
        "u0_SEIR"
      ]
    },
    {
      "page": "u0_SIR",
      "title": "Example data to initialize the 'SIR' model",
      "topics": [
        "u0_SIR"
      ]
    },
    {
      "page": "u0_SIS",
      "title": "Example data to initialize the 'SIS' model",
      "topics": [
        "u0_SIS"
      ]
    },
    {
      "page": "u0_SISe",
      "title": "Example data to initialize the 'SISe' model",
      "topics": [
        "u0_SISe"
      ]
    },
    {
      "page": "u0_SISe3",
      "title": "Example data to initialize 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/cran/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": "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()"
      ],
      "created": "2024-04-24 02:34:31",
      "modified": "2024-04-24 02:34:31",
      "commits": 1
    },
    {
      "source": "scheduled-events.Rmd",
      "filename": "scheduled-events.html",
      "title": "Scheduled events",
      "author": "Stefan Widgren ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "A first example",
        "Varying probability of picking individuals"
      ],
      "created": "2021-06-25 10:30:21",
      "modified": "2024-04-24 02:34:31",
      "commits": 3
    },
    {
      "source": "SimInf.Rnw",
      "filename": "SimInf.pdf",
      "title": "SimInf: An R Package for Data-Driven Stochastic Disease Spread Simulations",
      "engine": "utils::Sweave",
      "headings": [
        "Introduction",
        "Epidemiological modeling",
        "Technical description of the simulation framework",
        "Model construction and data analysis: Basic examples",
        "Extending SimInf: New models",
        "Benchmark",
        "Conclusion",
        "Acknowledgments",
        "Pseudo-code for the default simulation solver",
        "Illustration of scheduled events",
        "C code for the SIR model"
      ],
      "created": "2017-06-13 13:41:21",
      "modified": "2025-11-13 19:27:52",
      "commits": 13
    }
  ],
  "_score": 6.054613054556888,
  "_indexed": false,
  "_nocasepkg": "siminf",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://stewid.r-universe.dev/SimInf",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "10.1.0",
      "date": "2026-06-16T11:40:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2b3fb32c3891b69abbe33930df8c8de8c980bccd",
      "fileid": "6ff7b4f31d0a54bf9b91a42e3fc871d341adfe3162c29689c56f3176a1f64313",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27614568969"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "10.1.0",
      "date": "2026-06-16T11:40:04.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2b3fb32c3891b69abbe33930df8c8de8c980bccd",
      "fileid": "5523c97cbb00e1167ab14ddf7fe8272e7b2fe81373e28cc0ca9a544df9e7ea3f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27614568969"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "10.1.0",
      "date": "2026-06-16T11:40:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2b3fb32c3891b69abbe33930df8c8de8c980bccd",
      "fileid": "f32885988db719621515b2deae594f3ec7e52c2818ee4edefdf8a187dc520b92",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27614568969"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "10.1.0",
      "date": "2026-06-16T11:40:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2b3fb32c3891b69abbe33930df8c8de8c980bccd",
      "fileid": "729651bed3f1f8374897fdda30f1ec74af4bfc24dfcdd90bd578f73b924ba072",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27614568969"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "10.1.0",
      "date": "2026-06-16T11:40:10.000Z",
      "arch": "emscripten",
      "commit": "2b3fb32c3891b69abbe33930df8c8de8c980bccd",
      "fileid": "663b454788cd712e0e12be227bdb74e674e218164cdd1dea38cdcdc533dee55e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27614568969"
    }
  ]
}