{
  "_id": "6b09fd00b6d08ed7e3d8ecea",
  "Package": "hhh4contacts",
  "Version": "0.13.4.9000",
  "Date": "2024-10-07",
  "License": "GPL-2",
  "Authors@R": "c(person(\"Sebastian\", \"Meyer\",\nemail = \"seb.meyer@fau.de\",\nrole = c(\"aut\",\"cre\"),\ncomment = c(ORCID = \"0000-0002-1791-9449\")),\nperson(\"Leonhard\", \"Held\",\nemail = \"Leonhard.Held@uzh.ch\",\nrole = c(\"ctb\",\"ths\"),\ncomment = c(ORCID = \"0000-0002-8686-5325\")))",
  "Title": "Age-Structured Spatio-Temporal Models for Infectious Disease\nCounts",
  "Description": "Meyer and Held (2017) <doi:10.1093/biostatistics/kxw051>\npresent an age-structured spatio-temporal model for infectious\ndisease counts. The approach is illustrated in a case study on\nnorovirus gastroenteritis in Berlin, 2011-2015, by age group,\ncity district and week, using additional contact data from the\nPOLYMOD survey. This package contains the data and code to\nreproduce the results from the paper, see\n'demo(\"hhh4contacts\")'.",
  "URL": "https://codeberg.org/EE-hub/hhh4contacts",
  "BugReports": "https://codeberg.org/EE-hub/hhh4contacts/issues",
  "LazyData": "yes",
  "RoxygenNote": "7.3.2",
  "Repository": "https://ee-lib.r-universe.dev",
  "Date/Publication": "2026-11-27 20:29:23 UTC",
  "RemoteUrl": "https://codeberg.org/EE-hub/hhh4contacts",
  "RemoteRef": "HEAD",
  "RemoteSha": "0507d0f93d583595045eaa7a7274f1e3a6e7be52",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-27 21:52:35 UTC",
    "User": "root"
  },
  "Author": "Sebastian Meyer [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1791-9449>),\nLeonhard Held [ctb, ths] (ORCID:\n<https://orcid.org/0000-0002-8686-5325>)",
  "Maintainer": "Sebastian Meyer <seb.meyer@fau.de>",
  "_user": "ee-lib",
  "_type": "src",
  "_file": "hhh4contacts_0.13.4.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/05ddafc04709eb5ac8a81c1233d0a319941cb49ac53bc92c3aea2a041334dc6f",
  "_filesize": 384214,
  "_sha256": "05ddafc04709eb5ac8a81c1233d0a319941cb49ac53bc92c3aea2a041334dc6f",
  "_expires": "2027-03-07T21:58:22.000Z",
  "_created": "2026-11-27T21:52:35.000Z",
  "_published": "2026-11-27T21:58:24.252Z",
  "_upstream": "https://codeberg.org/EE-hub/hhh4contacts",
  "_status": "success",
  "_maintainer": {
    "name": "Sebastian Meyer",
    "email": "seb.meyer@fau.de",
    "login": "bastistician",
    "mastodon": "@bastistician@fosstodon.org",
    "description": "statistician and postdoc @ FAU Erlangen, R-core contributor",
    "uuid": 4366501,
    "orcid": "0000-0002-1791-9449"
  },
  "_jobs": [
    {
      "job": 140754519937,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15234500792"
    },
    {
      "job": 140754519857,
      "time": 107,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15233931455"
    },
    {
      "job": 140754519784,
      "time": 168,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15234196330"
    },
    {
      "job": 140754519776,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15233557522"
    },
    {
      "job": 140753462097,
      "time": 183,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15233541957"
    },
    {
      "job": 140754519800,
      "time": 76,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15234595420"
    },
    {
      "job": 140754519815,
      "time": 98,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15233334341"
    },
    {
      "job": 140754519771,
      "time": 90,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15233702009"
    },
    {
      "job": 140754519790,
      "time": 82,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15233996281"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ee-lib/actions/runs/46072730735",
  "_commit": {
    "id": "0507d0f93d583595045eaa7a7274f1e3a6e7be52",
    "author": "Sebastian Meyer <seb.meyer@fau.de>",
    "committer": "Sebastian Meyer <seb.meyer@fau.de>",
    "message": "update URL\n",
    "time": 1795811363
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "grDevices",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Depends"
    },
    {
      "package": "surveillance",
      "version": ">= 1.14.0",
      "role": "Depends"
    },
    {
      "package": "sp",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "lattice",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    }
  ],
  "_owner": "codeberg-ee-hub",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-48",
      "n": 1
    }
  ],
  "_tags": [],
  "_userbio": {
    "uuid": 184227302,
    "type": "organization",
    "name": "EE-lib",
    "followers": 0,
    "description": "Collection of R packages implementing endemic-epidemic models"
  },
  "_downloads": {
    "count": 1851,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hhh4contacts"
  },
  "_mentions": 1,
  "_devurl": "https://codeberg.org/ee-hub/hhh4contacts",
  "_searchresults": 30,
  "_abi": {
    "exports": [
      {
        "key": "hhh4contacts::generic:stratum",
        "hash": "f075d5cfef69584a"
      }
    ],
    "imports": []
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hhh4contacts.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://codeberg.org/ee-hub/hhh4contacts",
  "_realowner": "bastistician",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.13.0",
      "date": "2017-06-30"
    },
    {
      "version": "0.13.1",
      "date": "2020-03-20"
    },
    {
      "version": "0.13.2",
      "date": "2023-10-23"
    },
    {
      "version": "0.13.3",
      "date": "2023-11-06"
    },
    {
      "version": "0.13.4",
      "date": "2024-10-07"
    }
  ],
  "_authors": [
    {
      "name": "Sebastian Meyer",
      "email": "seb.meyer@fau.de",
      "orcid": "0000-0002-1791-9449",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "Leonhard Held",
      "email": "leonhard.held@uzh.ch",
      "orcid": "0000-0002-8686-5325",
      "role": [
        "ctb",
        "ths"
      ]
    }
  ],
  "_exports": [
    "adaptP",
    "addGroups2WFUN",
    "aggregateC",
    "aggregateCountsArray",
    "C2pop",
    "contactmatrix",
    "dssAggregate",
    "expandC",
    "fitC",
    "make_powerC",
    "noroBE",
    "plotC",
    "plotHHH4_fitted_groups",
    "plotHHH4_maps_groups",
    "plotHHH4_season_groups",
    "stationary",
    "stratum",
    "stsplothook_highlight"
  ],
  "_datasets": [
    {
      "name": "contactmatrix_mossong",
      "title": "POLYMOD Contact Matrices for Germany",
      "object": "contactmatrix_mossong",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "00-04",
        "05-09",
        "10-14",
        "15-19",
        "20-24",
        "25-29",
        "30-34",
        "35-39",
        "40-44",
        "45-49",
        "50-54",
        "55-59",
        "60-64",
        "65-69",
        "70+"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "contactmatrix_mossong_physical",
      "title": "POLYMOD Contact Matrices for Germany",
      "object": "contactmatrix_mossong",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "00-04",
        "05-09",
        "10-14",
        "15-19",
        "20-24",
        "25-29",
        "30-34",
        "35-39",
        "40-44",
        "45-49",
        "50-54",
        "55-59",
        "60-64",
        "65-69",
        "70+"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "contactmatrix_POLYMOD",
      "title": "POLYMOD Contact Matrices for Germany",
      "object": "contactmatrix_POLYMOD",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "00-04",
        "05-09",
        "10-14",
        "15-19",
        "20-24",
        "25-29",
        "30-34",
        "35-39",
        "40-44",
        "45-49",
        "50-54",
        "55-59",
        "60-64",
        "65-69",
        "70+"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "contactmatrix_POLYMOD_physical",
      "title": "POLYMOD Contact Matrices for Germany",
      "object": "contactmatrix_POLYMOD",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "00-04",
        "05-09",
        "10-14",
        "15-19",
        "20-24",
        "25-29",
        "30-34",
        "35-39",
        "40-44",
        "45-49",
        "50-54",
        "55-59",
        "60-64",
        "65-69",
        "70+"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "contactmatrix_wallinga",
      "title": "POLYMOD Contact Matrices for Germany",
      "object": "contactmatrix_wallinga",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "00-04",
        "05-09",
        "10-14",
        "15-19",
        "20-24",
        "25-29",
        "30-34",
        "35-39",
        "40-44",
        "45-49",
        "50-54",
        "55-59",
        "60-64",
        "65-69",
        "70+"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "contactmatrix_wallinga_physical",
      "title": "POLYMOD Contact Matrices for Germany",
      "object": "contactmatrix_wallinga",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "00-04",
        "05-09",
        "10-14",
        "15-19",
        "20-24",
        "25-29",
        "30-34",
        "35-39",
        "40-44",
        "45-49",
        "50-54",
        "55-59",
        "60-64",
        "65-69",
        "70+"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "counts",
      "title": "Create '\"sts\"' Objects from the Berlin Norovirus Data",
      "object": "berlin",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "map",
      "title": "Create '\"sts\"' Objects from the Berlin Norovirus Data",
      "object": "berlin",
      "class": [
        "SpatialPolygonsDataFrame"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "pop2011",
      "title": "Berlin and German Population by Age Group, 2011",
      "object": "berlin",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "00-04",
        "05-09",
        "10-14",
        "15-19",
        "20-24",
        "25-29",
        "30-34",
        "35-39",
        "40-44",
        "45-49",
        "50-54",
        "55-59",
        "60-64",
        "65-69",
        "70+"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    },
    {
      "name": "popDE",
      "title": "Berlin and German Population by Age Group, 2011",
      "object": "popDE",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "adaptP",
      "title": "Adapt a Transition Matrix to a Specific Stationary Distribution",
      "topics": [
        "adaptP"
      ]
    },
    {
      "page": "addGroups2WFUN",
      "title": "Group-Dependent Parametric Weights",
      "topics": [
        "addGroups2WFUN"
      ]
    },
    {
      "page": "aggregateC",
      "title": "Aggregate a Contact Matrix",
      "topics": [
        "aggregateC"
      ]
    },
    {
      "page": "aggregateCountsArray",
      "title": "Aggregate an Array of Counts wrt One Dimension (Stratum)",
      "topics": [
        "aggregateCountsArray"
      ]
    },
    {
      "page": "C2pop",
      "title": "Adapt a Contact Matrix to Population Fractions",
      "topics": [
        "C2pop"
      ]
    },
    {
      "page": "contactmatrix",
      "title": "POLYMOD Contact Matrices for Germany",
      "topics": [
        "contactmatrix",
        "contactmatrix_mossong",
        "contactmatrix_mossong_physical",
        "contactmatrix_POLYMOD",
        "contactmatrix_POLYMOD_physical",
        "contactmatrix_wallinga",
        "contactmatrix_wallinga_physical"
      ]
    },
    {
      "page": "dssAggregate",
      "title": "Compute the DSS on Aggregated Predictions and Observations",
      "topics": [
        "dssAggregate"
      ]
    },
    {
      "page": "expandC",
      "title": "Expand the Contact Matrix over Regions",
      "topics": [
        "expandC"
      ]
    },
    {
      "page": "fitC",
      "title": "Estimate the Power of the Contact Matrix in a '\"hhh4\"' Model",
      "topics": [
        "fitC"
      ]
    },
    {
      "page": "noroBE",
      "title": "Create '\"sts\"' Objects from the Berlin Norovirus Data",
      "topics": [
        "counts",
        "map",
        "noroBE"
      ]
    },
    {
      "page": "plotC",
      "title": "Generate an Image of a Contact Matrix",
      "topics": [
        "plotC"
      ]
    },
    {
      "page": "plotHHH4_fitted_groups",
      "title": "Plot Mean Components of a 'hhh4' Fit by Group",
      "topics": [
        "plotHHH4_fitted_groups"
      ]
    },
    {
      "page": "plotHHH4_maps_groups",
      "title": "Plot Mean Components of a 'hhh4' Fit by District Averaged Over Time",
      "topics": [
        "plotHHH4_maps_groups"
      ]
    },
    {
      "page": "plotHHH4_season_groups",
      "title": "Plot Seasonality of a 'hhh4' Fit by Group",
      "topics": [
        "plotHHH4_season_groups"
      ]
    },
    {
      "page": "pop2011",
      "title": "Berlin and German Population by Age Group, 2011",
      "topics": [
        "pop2011",
        "popDE"
      ]
    },
    {
      "page": "powerC",
      "title": "Exponentiate a Matrix via Eigendecomposition",
      "topics": [
        "make_powerC",
        "powerC"
      ]
    },
    {
      "page": "stationary",
      "title": "Stationary Distribution of a Transition Matrix",
      "topics": [
        "stationary"
      ]
    },
    {
      "page": "stratum",
      "title": "Extract Strata",
      "topics": [
        "stratum",
        "stratum,sts-method"
      ]
    },
    {
      "page": "stsplothook",
      "title": "Hook functions for 'stsplot_time1'",
      "topics": [
        "stsplothook",
        "stsplothook_highlight"
      ]
    }
  ],
  "_readme": "https://codeberg.org/EE-hub/hhh4contacts/raw/HEAD/README.md",
  "_rundeps": [
    "deldir",
    "lattice",
    "MASS",
    "Matrix",
    "nlme",
    "polyclip",
    "polyCub",
    "sp",
    "spatstat.data",
    "spatstat.geom",
    "spatstat.univar",
    "spatstat.utils",
    "surveillance"
  ],
  "_score": 3.7445276734725668,
  "_indexed": false,
  "_nocasepkg": "hhh4contacts",
  "_universes": [
    "ee-lib"
  ],
  "_indexurl": "https://bastistician.r-universe.dev/hhh4contacts",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.13.4.9000",
      "date": "2026-11-27T21:54:28.000Z",
      "distro": "resolute",
      "commit": "0507d0f93d583595045eaa7a7274f1e3a6e7be52",
      "fileid": "https://r2.ropensci.org/81d9255a94405f5b2a08adfad564d1e6ee15a610067f338ef5284adbdb8ae3ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ee-lib/actions/runs/46072730735"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.13.4.9000",
      "date": "2026-11-27T21:54:11.000Z",
      "distro": "resolute",
      "commit": "0507d0f93d583595045eaa7a7274f1e3a6e7be52",
      "fileid": "https://r2.ropensci.org/b973936d8c1d93218273a1dfdb6800fd422e77d65ec874fb158e6a6edef5dfc0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ee-lib/actions/runs/46072730735"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.13.4.9000",
      "date": "2026-11-27T21:56:12.000Z",
      "commit": "0507d0f93d583595045eaa7a7274f1e3a6e7be52",
      "fileid": "https://r2.ropensci.org/e87d54b9b379b6ba73b2c93e83b2af60db43543b684fef95a7f612a5f2f383f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ee-lib/actions/runs/46072730735"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.13.4.9000",
      "date": "2026-11-27T21:55:12.000Z",
      "commit": "0507d0f93d583595045eaa7a7274f1e3a6e7be52",
      "fileid": "https://r2.ropensci.org/f3ced8df1a343699438124ba029de25a1ac69a446efa813320d577e557335d08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ee-lib/actions/runs/46072730735"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.13.4.9000",
      "date": "2026-11-27T21:54:23.000Z",
      "commit": "0507d0f93d583595045eaa7a7274f1e3a6e7be52",
      "fileid": "https://r2.ropensci.org/a3a695759ce9329be8733c4291f1e4ac21c2fa93bb8ef2825b41e5f47cb0012c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ee-lib/actions/runs/46072730735"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.13.4.9000",
      "date": "2026-11-27T21:54:01.000Z",
      "commit": "0507d0f93d583595045eaa7a7274f1e3a6e7be52",
      "fileid": "https://r2.ropensci.org/18f63467de36226152d32987ac8ee1a8cc6975cb2faf8a8473b973870f05e7a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ee-lib/actions/runs/46072730735"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.13.4.9000",
      "date": "2026-11-27T21:53:54.000Z",
      "commit": "0507d0f93d583595045eaa7a7274f1e3a6e7be52",
      "fileid": "https://r2.ropensci.org/ba81fe2b91d62f80729ece8d497d300dc2477b3d9bd486d0894ff619a9ac095b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ee-lib/actions/runs/46072730735"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.13.4.9000",
      "date": "2026-11-27T21:53:43.000Z",
      "commit": "0507d0f93d583595045eaa7a7274f1e3a6e7be52",
      "fileid": "https://r2.ropensci.org/bf77669897bcd5b824b618e99d1656b7410efec49e74cf402da030212578b164",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ee-lib/actions/runs/46072730735"
    }
  ]
}