{
  "_id": "6a228b74cd65a98ecbd5480f",
  "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-06-05 08:36:52 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",
  "MD5sum": "8244c6118ea0b18e7c397f012081bed5",
  "_user": "cran",
  "_type": "src",
  "_file": "BayesMortalityPlus_1.0.0.tar.gz",
  "_fileid": "d65bcc135c487bc484d14857f9e943ef7de64aa6ae41ff71cd6e7f3c77e41c86",
  "_filesize": 612393,
  "_sha256": "d65bcc135c487bc484d14857f9e943ef7de64aa6ae41ff71cd6e7f3c77e41c86",
  "_created": "2026-06-05T08:36:52.000Z",
  "_published": "2026-06-05T08:40:20.162Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79693316661,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7432392815"
    },
    {
      "job": 79693316651,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7432391622"
    },
    {
      "job": 79692900096,
      "time": 168,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7432344561"
    },
    {
      "job": 79693316630,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7432375450"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27004559123",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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": [
    {
      "week": "2025-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2025-07-10"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 641,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesMortalityPlus"
  },
  "_searchresults": 8,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BayesMortalityPlus.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "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-06-05T08:38:56.000Z",
      "distro": "noble",
      "commit": "5f5bbb75e81fd9fbd4fbf52ac0cfd872b2b7e474",
      "fileid": "c2158d2a59b2b6031aee43ef45cc237ca5cb97c87e4bdeac53b34102948fb8e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27004559123"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-05T08:38:50.000Z",
      "distro": "noble",
      "commit": "5f5bbb75e81fd9fbd4fbf52ac0cfd872b2b7e474",
      "fileid": "0e5614721e27f84285691497fdc76326041b23059eafab34518236ab338e7c14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27004559123"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-05T08:38:58.000Z",
      "commit": "5f5bbb75e81fd9fbd4fbf52ac0cfd872b2b7e474",
      "fileid": "9fb95ff1dedc38dac4fb1fac9b7d0aa0a7d48f3ae2a7a4fc7b7c1ffff21a099e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27004559123"
    }
  ]
}