{
  "_id": "6a1e9b7e1d7bb097a0a6e994",
  "Package": "ungroup",
  "Type": "Package",
  "Title": "Penalized Composite Link Model for Efficient Estimation of\nSmooth Distributions from Coarsely Binned Data",
  "Version": "1.4.5",
  "Authors@R": "c(\nperson(\"Marius D.\", \"Pascariu\", role = c(\"aut\", \"cre\"), email = \"rpascariu@outlook.com\", comment = c(ORCID = \"0000-0002-2568-6489\")),\nperson(\"Silvia\", \"Rizzi\", role = \"aut\", email = \"srizzi@health.sdu.dk\"),\nperson(\"Jonas\", \"Schoeley\", role = \"aut\", comment = c(ORCID = \"0000-0002-3340-8518\")),\nperson(\"Maciej J.\", \"Danko\", role = \"aut\", email = \"Danko@demogr.mpg.de\", comment = c(ORCID = \"0000-0002-7924-9022\"))\n)",
  "Description": "Versatile method for ungrouping histograms (binned count\ndata) assuming that counts are Poisson distributed and that the\nunderlying sequence on a fine grid to be estimated is smooth.\nThe method is based on the composite link model and estimation\nis achieved by maximizing a penalized likelihood. Smooth\ndetailed sequences of counts and rates are so estimated from\nthe binned counts. Ungrouping binned data can be desirable for\nmany reasons: Bins can be too coarse to allow for accurate\nanalysis; comparisons can be hindered when different grouping\napproaches are used in different histograms; and the last\ninterval is often wide and open-ended and, thus, covers a lot\nof information in the tail area. Age-at-death distributions\ngrouped in age classes and abridged life tables are examples of\nbinned data. Because of modest assumptions, the approach is\nsuitable for many demographic and epidemiological applications.\nFor a detailed description of the method and applications see\nRizzi et al. (2015) <doi:10.1093/aje/kwv020>.",
  "License": "MIT + file LICENSE",
  "LazyData": "TRUE",
  "RdMacros": "Rdpack",
  "URL": "https://github.com/mpascariu/ungroup",
  "BugReports": "https://github.com/mpascariu/ungroup/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.0",
  "Repository": "https://mpascariu.r-universe.dev",
  "Date/Publication": "2026-05-03 08:35:20 UTC",
  "RemoteUrl": "https://github.com/mpascariu/ungroup",
  "RemoteRef": "HEAD",
  "RemoteSha": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-02 08:52:49 UTC",
    "User": "root"
  },
  "Author": "Marius D. Pascariu [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2568-6489>),\nSilvia Rizzi [aut],\nJonas Schoeley [aut] (ORCID: <https://orcid.org/0000-0002-3340-8518>),\nMaciej J. Danko [aut] (ORCID: <https://orcid.org/0000-0002-7924-9022>)",
  "Maintainer": "Marius D. Pascariu <rpascariu@outlook.com>",
  "MD5sum": "fc95123da5ff3f0e71a79a867f709a97",
  "_user": "mpascariu",
  "_type": "src",
  "_file": "ungroup_1.4.5.tar.gz",
  "_fileid": "e3aba670fb5148bf34667cc9c84f879240a38dc2a4aa1aef83bf1ac850305c06",
  "_filesize": 511223,
  "_sha256": "e3aba670fb5148bf34667cc9c84f879240a38dc2a4aa1aef83bf1ac850305c06",
  "_created": "2026-06-02T08:52:49.000Z",
  "_published": "2026-06-02T08:59:42.493Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79034537032,
      "time": 153,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7353268688"
    },
    {
      "job": 79034537043,
      "time": 169,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7353273179"
    },
    {
      "job": 79034536998,
      "time": 150,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353267514"
    },
    {
      "job": 79034537047,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353268751"
    },
    {
      "job": 79034536987,
      "time": 169,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7353263037"
    },
    {
      "job": 79034536974,
      "time": 268,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7353302358"
    },
    {
      "job": 79034536981,
      "time": 209,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353275334"
    },
    {
      "job": 79034537001,
      "time": 348,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353325068"
    },
    {
      "job": 79033860181,
      "time": 226,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353214124"
    },
    {
      "job": 79034536927,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353257685"
    },
    {
      "job": 79034537031,
      "time": 144,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7353264456"
    },
    {
      "job": 79034536980,
      "time": 155,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7353268216"
    },
    {
      "job": 79034536960,
      "time": 144,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353265641"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mpascariu/ungroup",
  "_commit": {
    "id": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
    "author": "Marius D. Pascariu <rpascariu@outlook.com>",
    "committer": "Marius D. Pascariu <rpascariu@outlook.com>",
    "message": "v1.4.5 - fix vignette typo\n",
    "time": 1777797320
  },
  "_maintainer": {
    "name": "Marius D. Pascariu",
    "email": "rpascariu@outlook.com",
    "login": "mpascariu",
    "twitter": "@MariusPascariu",
    "description": "R&D actuary. Statistical demographer. Data scientist. Interested in mortality modelling and forecasting.",
    "uuid": 6264977,
    "orcid": "0000-0002-2568-6489"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "pbapply",
      "version": ">= 1.3",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "version": ">= 0.8",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "MortalityLaws",
      "version": ">= 1.5.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.20",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 1.10",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "mpascariu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "distributions",
    "glm",
    "smoothing",
    "ungrouping",
    "cpp"
  ],
  "_stars": 16,
  "_contributors": [
    {
      "user": "mpascariu",
      "count": 18,
      "uuid": 6264977
    },
    {
      "user": "andreaskiermeier",
      "count": 1,
      "uuid": 10529851
    },
    {
      "user": "timriffe",
      "count": 1,
      "uuid": 904603
    }
  ],
  "_userbio": {
    "uuid": 6264977,
    "type": "user",
    "name": "Marius D. Pascariu",
    "description": "R&D actuary. Statistical demographer. Data scientist. Interested in mortality modelling and forecasting."
  },
  "_downloads": {
    "count": 385,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ungroup"
  },
  "_devurl": "https://github.com/mpascariu/ungroup",
  "_searchresults": 83,
  "_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/ungroup.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mpascariu/ungroup",
  "_realowner": "mpascariu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2018-09-03"
    },
    {
      "version": "1.1.0",
      "date": "2018-09-30"
    },
    {
      "version": "1.1.1",
      "date": "2018-10-15"
    },
    {
      "version": "1.1.5",
      "date": "2019-12-11"
    },
    {
      "version": "1.3.0",
      "date": "2021-01-10"
    },
    {
      "version": "1.4.2",
      "date": "2021-06-28"
    },
    {
      "version": "1.4.4",
      "date": "2024-01-31"
    }
  ],
  "_exports": [
    "build_B_spline_basis",
    "build_C_matrix",
    "build_P_matrix",
    "control.pclm",
    "control.pclm2D",
    "create.artificial.bin",
    "delete.artificial.bin",
    "frac",
    "pclm",
    "pclm.fit",
    "pclm.input.check",
    "pclm2D",
    "seqlast",
    "suggest.valid.out.step",
    "validate.nlast"
  ],
  "_datasets": [
    {
      "name": "ungroup.data",
      "title": "Test Dataset in the Package",
      "object": "ungroup.data",
      "class": [
        "ungroup.data"
      ],
      "fields": [],
      "table": true,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "control.pclm",
      "title": "Auxiliary for Controlling 'pclm' Fitting",
      "topics": [
        "control.pclm"
      ]
    },
    {
      "page": "control.pclm2D",
      "title": "Auxiliary for Controlling 'pclm2D' Fitting",
      "topics": [
        "control.pclm2D"
      ]
    },
    {
      "page": "pclm",
      "title": "Univariate Penalized Composite Link Model (PCLM)",
      "topics": [
        "pclm"
      ]
    },
    {
      "page": "pclm2D",
      "title": "Two-Dimensional Penalized Composite Link Model (PCLM-2D)",
      "topics": [
        "pclm2D"
      ]
    },
    {
      "page": "plot.pclm",
      "title": "Generic Plot for pclm Class",
      "topics": [
        "plot.pclm"
      ]
    },
    {
      "page": "plot.pclm2D",
      "title": "Generic Plot for pclm2D Class",
      "topics": [
        "plot.pclm2D"
      ]
    },
    {
      "page": "residuals.pclm",
      "title": "Extract PCLM Deviance Residuals",
      "topics": [
        "residuals.pclm"
      ]
    },
    {
      "page": "residuals.pclm2D",
      "title": "Extract PCLM-2D Deviance Residuals",
      "topics": [
        "residuals.pclm2D"
      ]
    },
    {
      "page": "ungroup",
      "title": "ungroup: Penalized Composite Link Model for Efficient Estimation of Smooth Distributions from Coarsely Binned Data",
      "topics": [
        "ungroup-package",
        "ungroup"
      ]
    },
    {
      "page": "ungroup.data",
      "title": "Test Dataset in the Package",
      "topics": [
        "ungroup.data"
      ]
    }
  ],
  "_readme": "https://github.com/mpascariu/ungroup/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "Matrix",
    "pbapply",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "Intro.Rmd",
      "filename": "Intro.html",
      "title": "Introduction to ungroup",
      "author": "Marius D. Pascariu, Maciej J. Dańko, Jonas Schöley and Silvia Rizzi",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Abstract",
        "Package Structure",
        "Usage",
        "Univariate Penalized Composite Link Model (PCLM)",
        "Fitting and ungrouping data using PCLM",
        "Output",
        "Summary",
        "plot.pclm",
        "out.step",
        "control.pclm",
        "Offset",
        "Two-dimensional Penalized Composite Link Model",
        "Acknowledgment",
        "References"
      ],
      "created": "2018-08-11 10:47:23",
      "modified": "2026-05-03 08:35:20",
      "commits": 4
    }
  ],
  "_score": 6.123198075031999,
  "_indexed": true,
  "_nocasepkg": "ungroup",
  "_universes": [
    "mpascariu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.5",
      "date": "2026-06-02T08:55:23.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
      "fileid": "4ea92619cf1fd475642cdbf0aaf9fa024c9ab2a8971a1e7561d50e73444ed1b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.5",
      "date": "2026-06-02T08:55:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
      "fileid": "727af3c11ca357866174b69a340b97db827a013905a23bf1292a5f28424f588e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.5",
      "date": "2026-06-02T08:55:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
      "fileid": "90ac21781ea85047142a30cecb658ebb03f27e92a25b549733db2e4eb5e27dbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.5",
      "date": "2026-06-02T08:55:12.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
      "fileid": "5015fd31c058e11cdc866cb4ec04d2ded545f77e44281876e555a198e0fe0060",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.5",
      "date": "2026-06-02T08:55:09.000Z",
      "arch": "aarch64",
      "commit": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
      "fileid": "a22ce8725af7e7f85762001cf93500f0dd6b592c620ed695097212aa77532cd1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.5",
      "date": "2026-06-02T08:56:24.000Z",
      "arch": "x86_64",
      "commit": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
      "fileid": "e04eef4db1209411c02e78345c0ada23721497c71eb354a10eb970aa7497dcbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.5",
      "date": "2026-06-02T08:55:25.000Z",
      "arch": "aarch64",
      "commit": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
      "fileid": "20de2b7b24870f57b267e91d488ad28c9e4c24877650c764ecd649ce63700f2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.5",
      "date": "2026-06-02T08:56:48.000Z",
      "arch": "x86_64",
      "commit": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
      "fileid": "d8368d28de39649156bedaf35ac4abe995f2e00d1aa4fd97a2516cc84793b6cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.5",
      "date": "2026-06-02T08:55:19.000Z",
      "arch": "emscripten",
      "commit": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
      "fileid": "f914b3e8203220429297d5767acc8a7d5fa81d554e7e98f3cc3a745a5ea44bd0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.5",
      "date": "2026-06-02T08:54:23.000Z",
      "arch": "x86_64",
      "commit": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
      "fileid": "034e04fc3368904491dfb6574dae88920f548542222c38054c54736838a8096c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.5",
      "date": "2026-06-02T08:54:25.000Z",
      "arch": "x86_64",
      "commit": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
      "fileid": "615d1d2cde2a3c1d616ccc48f267becb8960f6ba5b164f4fd41bea9c7672a25c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.5",
      "date": "2026-06-02T08:54:24.000Z",
      "arch": "x86_64",
      "commit": "2423c193b797d98e08ca61d3997bdeea02a9e63f",
      "fileid": "4c36f055cd783575a4dec3e3ff2bfebe18734739db4586b4f06a4dbef51d499f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/26809021155"
    }
  ]
}