{
  "_id": "6a2a81827b7a29ca60047f2c",
  "Package": "hhh4contacts",
  "Version": "0.13.4",
  "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://bastistician.r-universe.dev",
  "Date/Publication": "2024-10-07 11:47:45 UTC",
  "RemoteUrl": "https://codeberg.org/ee-hub/hhh4contacts",
  "RemoteRef": "HEAD",
  "RemoteSha": "3eb3f608e0d7d44e4f8bbcb8c03010f0517a6558",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-11 09:28:20 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>",
  "MD5sum": "0e672abf0d78b6ccf1562c818cd8f5e3",
  "_user": "bastistician",
  "_type": "src",
  "_file": "hhh4contacts_0.13.4.tar.gz",
  "_fileid": "50f1877c30a978a3f3c81d5d62ad814d2b30c0f217ee9be0336c2901ce1a6148",
  "_filesize": 385129,
  "_sha256": "50f1877c30a978a3f3c81d5d62ad814d2b30c0f217ee9be0336c2901ce1a6148",
  "_created": "2026-06-11T09:28:20.000Z",
  "_published": "2026-06-11T09:36:02.734Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80764927707,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7560239141"
    },
    {
      "job": 80764927721,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560247475"
    },
    {
      "job": 80764927934,
      "time": 278,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7560289335"
    },
    {
      "job": 80764927727,
      "time": 417,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560328677"
    },
    {
      "job": 80764440767,
      "time": 154,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560188627"
    },
    {
      "job": 80764927729,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560230254"
    },
    {
      "job": 80764927734,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7560234390"
    },
    {
      "job": 80764927730,
      "time": 101,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7560232389"
    },
    {
      "job": 80764927870,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560226751"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bastistician/actions/runs/27337202362",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://codeberg.org/ee-hub/hhh4contacts",
  "_commit": {
    "id": "3eb3f608e0d7d44e4f8bbcb8c03010f0517a6558",
    "author": "Sebastian Meyer <seb.meyer@fau.de>",
    "committer": "Sebastian Meyer <seb.meyer@fau.de>",
    "message": "update reference output (version numbers)\n",
    "time": 1728301665
  },
  "_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"
  },
  "_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": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_userbio": {
    "uuid": 4366501,
    "type": "user",
    "name": "Sebastian Meyer",
    "description": "statistician and postdoc @ FAU Erlangen, R-core contributor"
  },
  "_downloads": {
    "count": 274,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hhh4contacts"
  },
  "_mentions": 1,
  "_devurl": "https://codeberg.org/ee-hub/hhh4contacts",
  "_searchresults": 26,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hhh4contacts.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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",
    "xtable"
  ],
  "_score": 3.113943352306837,
  "_indexed": true,
  "_nocasepkg": "hhh4contacts",
  "_universes": [
    "bastistician",
    "codeberg-ee-hub"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.13.4",
      "date": "2026-06-11T09:30:15.000Z",
      "distro": "noble",
      "commit": "3eb3f608e0d7d44e4f8bbcb8c03010f0517a6558",
      "fileid": "f7564c3f466acd166ae0fa55885ab9cfe9ca8e1691a9cec0d606e48967019070",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/27337202362"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.13.4",
      "date": "2026-06-11T09:30:27.000Z",
      "distro": "noble",
      "commit": "3eb3f608e0d7d44e4f8bbcb8c03010f0517a6558",
      "fileid": "9a2da7d336c6fc301df4625d0c23c30c5189e9bec24266405ddf5dd747d6c232",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/27337202362"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.13.4",
      "date": "2026-06-11T09:32:07.000Z",
      "commit": "3eb3f608e0d7d44e4f8bbcb8c03010f0517a6558",
      "fileid": "0b90d3c032c62fe69b7443b5c87aa921ade72c11a4578a88180d199368bcb342",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/27337202362"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.13.4",
      "date": "2026-06-11T09:32:52.000Z",
      "commit": "3eb3f608e0d7d44e4f8bbcb8c03010f0517a6558",
      "fileid": "3daf7079d1a2b778b8418b032b3e10024117098f976cd5d89e2e455de0d97560",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/27337202362"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.13.4",
      "date": "2026-06-11T09:30:21.000Z",
      "commit": "3eb3f608e0d7d44e4f8bbcb8c03010f0517a6558",
      "fileid": "a4d65d9349e62f168e81314a48378ce6d4b236d7755e06b3519491408ec4d14e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/27337202362"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.13.4",
      "date": "2026-06-11T09:29:49.000Z",
      "commit": "3eb3f608e0d7d44e4f8bbcb8c03010f0517a6558",
      "fileid": "dcb196e497bd7212778fb6d9e133af6f5d2d4fd001a4989c38bdc3fa79c3d457",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/27337202362"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.13.4",
      "date": "2026-06-11T09:29:48.000Z",
      "commit": "3eb3f608e0d7d44e4f8bbcb8c03010f0517a6558",
      "fileid": "1f77fcbe5822c2cc1382fb859891df14f0f1b19b2bf119e5a387a50b317249f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/27337202362"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.13.4",
      "date": "2026-06-11T09:29:33.000Z",
      "commit": "3eb3f608e0d7d44e4f8bbcb8c03010f0517a6558",
      "fileid": "4c0d4bc8093a4c0de89241e7e0ca9d32c65d4a5de1c592f8c85ffd4baf586d1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/27337202362"
    }
  ]
}