{
  "_id": "6ab3adcd3d719c1f840928aa",
  "Package": "BayesMortalityPlus",
  "Type": "Package",
  "Title": "Bayesian Mortality Modelling",
  "Version": "1.0.0",
  "Authors@R": "c(person(given = c(\"Luiz\", \"F.\", \"V.\"), family = \"Figueiredo\", \ncomment=c(ORCID=\"0009-0007-9002-1997\"),\nemail=\"labmapackage@gmail.com\",\nrole = c(\"aut\", \"cre\")),\nperson(given = c(\"Lucas\", \"M.\", \"F.\"), family = \"Silva\",\ncomment=c(ORCID=\"0009-0000-7452-3486\"),\nrole = c(\"aut\")),\nperson(given = c(\"Viviana\", \"G.\", \"R.\"), family = \"Lobo\",\nemail = \"viviana@dme.ufrj.br\",\ncomment=c(ORCID=\"0000-0002-4076-8327\"),\nrole = c(\"aut\")),\nperson(given = c(\"Thais\", \"C.\", \"O.\"), family = \"Fonseca\",\ncomment=c(ORCID=\"0000-0002-4943-3259\"),\nrole = c(\"aut\")),\nperson(given = c(\"Mariane\", \"B.\"), family = \"Alves\",\ncomment=c(ORCID=\"0000-0002-2489-9300\"),\nrole = c(\"aut\")))",
  "Description": "Fit Bayesian graduation mortality using the\nHeligman-Pollard model, as seen in Heligman, L., & Pollard, J.\nH. (1980) <doi:10.1017/S0020268100040257> and Dellaportas,\nPetros, et al. (2001) <doi:10.1111/1467-985X.00202>, and\ndynamic linear model (Campagnoli, P., Petris, G., and Petrone,\nS. (2009) <doi:10.1007/b135794_2>). While Heligman-Pollard has\nparameters with a straightforward interpretation yielding some\nrich analysis, the dynamic linear model provides a very\nflexible adjustment of the mortality curves by controlling the\ndiscount factor value. Closing methods for both\nHeligman-Pollard and dynamic linear model were also implemented\naccording to Dodd, Erengul, et al. (2018)\n<https://www.jstor.org/stable/48547511>. The Bayesian\nLee-Carter model is also implemented to fit historical\nmortality tables time series to predict the mortality in the\nfollowing years and to do improvement analysis, as seen in Lee,\nR. D., & Carter, L. R. (1992)\n<doi:10.1080/01621459.1992.10475265> and Pedroza, C. (2006)\n<doi:10.1093/biostatistics/kxj024>. Journal publication\navailable at <doi:10.18637/jss.v113.i09>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "Collate": "'Heatmap_default.R' 'PT.R' 'USA.R' 'blc.R' 'ffbs.R' 'dlm.R'\n'gompertz_dlm.R' 'dlm_close.R' 'expectancy_blc.R'\n'expectancy_default.R' 'fitted_dlm.R' 'expectancy_dlm.R'\n'fun_aux.R' 'fitted_hp.R' 'expectancy_hp.R' 'fitted_blc.R'\n'globals.R' 'heatmap_blc.R' 'heatmap_dlm.R' 'heatmap_hp.R'\n'heatmap_list.R' 'hp_poisson_reduced.R'\n'hp_lognormal_reduced.R' 'hp_binomial_reduced.R' 'hp_poisson.R'\n'hp_lognormal.R' 'hp_binomial.R' 'hp.R' 'sir_gompertz.R'\n'hp_close.R' 'hp_mix.R' 'improvement.R' 'kd_filter.R'\n'kd_smoother.R' 'mean_blc.R' 'mean_blc_pred.R' 'plot_blc.R'\n'plot_blc_pred.R' 'plot_chain.R' 'plot_dlm.R' 'plot_hp.R'\n'plot_list.R' 'predict_blc.R' 'predict_dlm.R' 'print_blc.R'\n'print_blc_pred.R' 'print_dlm.R' 'print_hp.R' 'quantile_blc.R'\n'quantile_blc_pred.R' 'summary_dlm.R' 'summary_hp.R'",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-23 10:41:56 UTC",
    "User": "root"
  },
  "Author": "Luiz F. V. Figueiredo [aut, cre] (ORCID:\n<https://orcid.org/0009-0007-9002-1997>), Lucas M. F. Silva\n[aut] (ORCID: <https://orcid.org/0009-0000-7452-3486>), Viviana\nG. R. Lobo [aut] (ORCID:\n<https://orcid.org/0000-0002-4076-8327>), Thais C. O. Fonseca\n[aut] (ORCID: <https://orcid.org/0000-0002-4943-3259>), Mariane\nB. Alves [aut] (ORCID: <https://orcid.org/0000-0002-2489-9300>)",
  "Maintainer": "Luiz F. V. Figueiredo <labmapackage@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-07-10 21:40:17 UTC",
  "RemoteUrl": "https://github.com/cran/BayesMortalityPlus",
  "RemoteRef": "HEAD",
  "RemoteSha": "5f5bbb75e81fd9fbd4fbf52ac0cfd872b2b7e474",
  "_user": "cran",
  "_type": "src",
  "_file": "BayesMortalityPlus_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7fd9d91f4653aa79952fe202a0871f33d8487ddedaad294dc990d3e3e7973de1",
  "_filesize": 611747,
  "_sha256": "7fd9d91f4653aa79952fe202a0871f33d8487ddedaad294dc990d3e3e7973de1",
  "_expires": "2027-01-01T10:45:31.000Z",
  "_created": "2026-09-23T10:41:56.000Z",
  "_published": "2026-09-23T10:45:33.268Z",
  "_jobs": [
    {
      "job": 107146194244,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10745376415"
    },
    {
      "job": 107146194390,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10745695003"
    },
    {
      "job": 107144873457,
      "time": 258,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10744937578"
    },
    {
      "job": 107146194202,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10745361554"
    },
    {
      "job": 107146194207,
      "time": 134,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10745222109"
    },
    {
      "job": 107146194431,
      "time": 135,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10744189656"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/35849870772",
  "_status": "success",
  "_upstream": "https://github.com/cran/BayesMortalityPlus",
  "_commit": {
    "id": "5f5bbb75e81fd9fbd4fbf52ac0cfd872b2b7e474",
    "author": "Luiz F. V. Figueiredo <labmapackage@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0\n",
    "time": 1752183617
  },
  "_maintainer": {
    "name": "Luiz F. V. Figueiredo",
    "email": "labmapackage@gmail.com",
    "orcid": "0009-0007-9002-1997"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 431,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesMortalityPlus"
  },
  "_searchresults": 8,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/BayesMortalityPlus.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-05-09"
    },
    {
      "version": "0.1.1",
      "date": "2023-09-06"
    },
    {
      "version": "0.2.2",
      "date": "2024-02-02"
    },
    {
      "version": "0.2.3",
      "date": "2024-03-04"
    },
    {
      "version": "0.2.4",
      "date": "2024-06-04"
    },
    {
      "version": "1.0.0",
      "date": "2025-07-10"
    }
  ],
  "_exports": [
    "blc",
    "dlm",
    "dlm_close",
    "expectancy",
    "Heatmap",
    "hp",
    "hp_close",
    "hp_mix",
    "improvement",
    "plot_chain"
  ],
  "_datasets": [
    {
      "name": "PT",
      "title": "Mortality Data from Portugal to be used as example",
      "object": "PT",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "2000",
        "2001",
        "2002",
        "2003",
        "2004",
        "2005",
        "2006",
        "2007",
        "2008",
        "2009",
        "2010",
        "2011",
        "2012",
        "2013",
        "2014",
        "2015"
      ],
      "rows": 63,
      "table": true,
      "tojson": true
    },
    {
      "name": "USA",
      "title": "Mortality Database from United States to be used as example",
      "object": "USA",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Year",
        "Age",
        "Ex.Female",
        "Ex.Male",
        "Ex.Total",
        "Dx.Female",
        "Dx.Male",
        "Dx.Total"
      ],
      "rows": 9657,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "blc",
      "title": "Lee-Carter Bayesian Estimation for mortality data",
      "topics": [
        "blc"
      ]
    },
    {
      "page": "dlm",
      "title": "Dynamic Linear Model for mortality table graduation",
      "topics": [
        "dlm"
      ]
    },
    {
      "page": "dlm_close",
      "title": "DLM: Fitting the advanced ages of the life tables",
      "topics": [
        "dlm_close"
      ]
    },
    {
      "page": "expectancy",
      "title": "Generic expectancy function",
      "topics": [
        "expectancy"
      ]
    },
    {
      "page": "expectancy.BLC",
      "title": "BLC: Life expectancy",
      "topics": [
        "expectancy.BLC"
      ]
    },
    {
      "page": "expectancy.DLM",
      "title": "DLM: Life expectancy",
      "topics": [
        "expectancy.DLM"
      ]
    },
    {
      "page": "expectancy.HP",
      "title": "HP: Life expectancy",
      "topics": [
        "expectancy.HP"
      ]
    },
    {
      "page": "fitted.BLC",
      "title": "BLC: Fitted death probabilities (qx)",
      "topics": [
        "fitted.BLC"
      ]
    },
    {
      "page": "fitted.DLM",
      "title": "DLM: Fitted death probabilities (qx)",
      "topics": [
        "fitted.DLM"
      ]
    },
    {
      "page": "fitted.HP",
      "title": "HP: Fitted death probabilities (qx)",
      "topics": [
        "fitted.HP"
      ]
    },
    {
      "page": "Heatmap",
      "title": "Generic Heatmap function",
      "topics": [
        "Heatmap"
      ]
    },
    {
      "page": "Heatmap.BLC",
      "title": "BLC: Heatmap for the life expectancy",
      "topics": [
        "Heatmap.BLC"
      ]
    },
    {
      "page": "Heatmap.DLM",
      "title": "DLM: Heatmap for the life expectancy",
      "topics": [
        "Heatmap.DLM"
      ]
    },
    {
      "page": "Heatmap.HP",
      "title": "HP: Heatmap for the life expectancy",
      "topics": [
        "Heatmap.HP"
      ]
    },
    {
      "page": "Heatmap.list",
      "title": "Heatmap for a set of life tables",
      "topics": [
        "Heatmap.list"
      ]
    },
    {
      "page": "hp",
      "title": "Bayesian Heligman-Pollard curve for mortality table graduation",
      "topics": [
        "hp"
      ]
    },
    {
      "page": "hp_close",
      "title": "HP: Fitting the advanced ages of the life tables",
      "topics": [
        "hp_close"
      ]
    },
    {
      "page": "hp_mix",
      "title": "HP: Model mixture",
      "topics": [
        "hp_mix"
      ]
    },
    {
      "page": "improvement",
      "title": "BLC: Improvement",
      "topics": [
        "improvement"
      ]
    },
    {
      "page": "mean.BLC",
      "title": "BLC: Arithmetic mean",
      "topics": [
        "mean.BLC"
      ]
    },
    {
      "page": "mean.PredBLC",
      "title": "BLC: Arithmetic mean for predictions",
      "topics": [
        "mean.PredBLC"
      ]
    },
    {
      "page": "plot_chain",
      "title": "Chain's plot",
      "topics": [
        "plot_chain"
      ]
    },
    {
      "page": "plot.BLC",
      "title": "BLC: Plot the fitted values",
      "topics": [
        "plot.BLC"
      ]
    },
    {
      "page": "plot.DLM",
      "title": "DLM: Plot the life table",
      "topics": [
        "plot.DLM"
      ]
    },
    {
      "page": "plot.HP",
      "title": "HP: Plot the life table",
      "topics": [
        "plot.HP"
      ]
    },
    {
      "page": "plot.list",
      "title": "Plot a set of life tables",
      "topics": [
        "plot.list"
      ]
    },
    {
      "page": "plot.PredBLC",
      "title": "BLC: Plot the log-mortality of a prediction",
      "topics": [
        "plot.PredBLC"
      ]
    },
    {
      "page": "predict.BLC",
      "title": "BLC: Forecasting",
      "topics": [
        "predict.BLC"
      ]
    },
    {
      "page": "predict.DLM",
      "title": "DLM: Prediction of death probability",
      "topics": [
        "predict.DLM"
      ]
    },
    {
      "page": "print.BLC",
      "title": "BLC: Print",
      "topics": [
        "print.BLC"
      ]
    },
    {
      "page": "print.DLM",
      "title": "DLM: Print",
      "topics": [
        "print.DLM"
      ]
    },
    {
      "page": "print.HP",
      "title": "HP: Print",
      "topics": [
        "print.HP"
      ]
    },
    {
      "page": "PT",
      "title": "Mortality Data from Portugal to be used as example",
      "topics": [
        "PT"
      ]
    },
    {
      "page": "quantile.BLC",
      "title": "BLC: Sample quantiles",
      "topics": [
        "quantile.BLC"
      ]
    },
    {
      "page": "quantile.PredBLC",
      "title": "BLC: Sample quantiles for predictions",
      "topics": [
        "quantile.PredBLC"
      ]
    },
    {
      "page": "summary.DLM",
      "title": "DLM: Summary",
      "topics": [
        "summary.DLM"
      ]
    },
    {
      "page": "summary.HP",
      "title": "HP: Summary",
      "topics": [
        "summary.HP"
      ]
    },
    {
      "page": "USA",
      "title": "Mortality Database from United States to be used as example",
      "topics": [
        "USA"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "crayon",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "MASS",
    "mvtnorm",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "bayesmortalityplus",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-23T10:44:07.000Z",
      "distro": "resolute",
      "commit": "5f5bbb75e81fd9fbd4fbf52ac0cfd872b2b7e474",
      "fileid": "https://r2.ropensci.org/a298b3402f576def29915d257f4302864a73cb17e668d30968da97ade137e031",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35849870772"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-23T10:44:03.000Z",
      "distro": "resolute",
      "commit": "5f5bbb75e81fd9fbd4fbf52ac0cfd872b2b7e474",
      "fileid": "https://r2.ropensci.org/24180c2a1340af3726e1f0c48407e5252fe189b204f41579d9f58e09e7e718d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35849870772"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-09-23T10:44:20.000Z",
      "commit": "5f5bbb75e81fd9fbd4fbf52ac0cfd872b2b7e474",
      "fileid": "https://r2.ropensci.org/e60751a56ece0628ba380902edade932f80f39ca27e75828f1c01b01a4724e1f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35849870772"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-23T10:43:10.000Z",
      "commit": "5f5bbb75e81fd9fbd4fbf52ac0cfd872b2b7e474",
      "fileid": "https://r2.ropensci.org/8a7b24d999a3bd2fbe3a39aca7fa5d23caf9b440329492f9da3cebf670a68093",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35849870772"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-23T10:43:11.000Z",
      "commit": "5f5bbb75e81fd9fbd4fbf52ac0cfd872b2b7e474",
      "fileid": "https://r2.ropensci.org/e118ee96759d702a575e547ac6e5fb4d0b20059041f04e39676ac05ae6c7dbfb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/35849870772"
    }
  ]
}