{
  "_id": "6a2e7a503efcd9bda4316b91",
  "Package": "hdpGLM",
  "Title": "Hierarchical Dirichlet Process Generalized Linear Models",
  "Version": "1.0.5",
  "Authors@R": "c(person(given=\"Diogo\", family=\"Ferrari\", email=\"diogoferrari@gmail.com\", role=c(\"aut\", \"cre\")))",
  "Description": "Implementation of MCMC algorithms to estimate the\nHierarchical Dirichlet Process Generalized Linear Model\n(hdpGLM) presented in the paper Ferrari (2020) Modeling\nContext-Dependent Latent Heterogeneity, Political Analysis\n<DOI:10.1017/pan.2019.13> and <doi:10.18637/jss.v107.i10>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/DiogoFerrari/hdpGLM",
  "BugReports": "https://github.com/DiogoFerrari/hdpGLM/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-14 09:48:44 UTC",
    "User": "root"
  },
  "Author": "Diogo Ferrari [aut, cre]",
  "Maintainer": "Diogo Ferrari <diogoferrari@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-10-17 02:50:02 UTC",
  "RemoteUrl": "https://github.com/cran/hdpGLM",
  "RemoteRef": "HEAD",
  "RemoteSha": "3196c823e1d125a73840e09b59db6de5170f758f",
  "MD5sum": "8d1ddf8328449cef8a062d1e0edb4be4",
  "_user": "cran",
  "_type": "src",
  "_file": "hdpGLM_1.0.5.tar.gz",
  "_fileid": "79daf088a7f32196d7ecf308c4f08b0f50a0edda167c3cecdb8e7561800b16bb",
  "_filesize": 1077517,
  "_sha256": "79daf088a7f32196d7ecf308c4f08b0f50a0edda167c3cecdb8e7561800b16bb",
  "_created": "2026-06-14T09:48:44.000Z",
  "_published": "2026-06-14T09:54:24.100Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81267666001,
      "time": 244,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7619836177"
    },
    {
      "job": 81267666011,
      "time": 235,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7619835199"
    },
    {
      "job": 81267666005,
      "time": 249,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7619836722"
    },
    {
      "job": 81267666012,
      "time": 228,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7619835222"
    },
    {
      "job": 81267309886,
      "time": 352,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7619807330"
    },
    {
      "job": 81267665995,
      "time": 175,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7619828723"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27494993076",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/hdpGLM",
  "_commit": {
    "id": "3196c823e1d125a73840e09b59db6de5170f758f",
    "author": "Diogo Ferrari <diogoferrari@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.5\n",
    "time": 1760669402
  },
  "_maintainer": {
    "name": "Diogo Ferrari",
    "email": "diogoferrari@gmail.com",
    "login": "diogoferrari",
    "description": "",
    "uuid": 2241830
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.3",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "formula.tools",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "ggridges",
      "role": "Imports"
    },
    {
      "package": "ggpubr",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "LaplacesDemon",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.5",
      "date": "2025-10-17"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "diogoferrari",
      "count": 6,
      "uuid": 2241830
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 606,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 241,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hdpGLM"
  },
  "_devurl": "https://github.com/diogoferrari/hdpglm",
  "_searchresults": 7,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hdpGLM.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/diogoferrari/hdpglm",
  "_realowner": "diogoferrari",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2020-11-09"
    },
    {
      "version": "1.0.1",
      "date": "2022-04-23"
    },
    {
      "version": "1.0.2",
      "date": "2022-05-07"
    },
    {
      "version": "1.0.3",
      "date": "2023-10-12"
    },
    {
      "version": "1.0.4",
      "date": "2025-04-20"
    },
    {
      "version": "1.0.5",
      "date": "2025-10-17"
    }
  ],
  "_exports": [
    "classify",
    "hdpGLM",
    "hdpGLM_classify",
    "hdpGLM_simParameters",
    "hdpGLM_simulateData",
    "mcmc_info.dpGLM",
    "mcmc_info.hdpGLM",
    "nclusters",
    "plot_beta",
    "plot_beta_sim",
    "plot_hdpglm",
    "plot_pexp_beta",
    "plot_tau",
    "summary_tidy"
  ],
  "_datasets": [
    {
      "name": "welfare",
      "title": "Fake data set with 2000 observations",
      "object": "welfare",
      "class": [
        "data.frame"
      ],
      "fields": [
        "support",
        "inequality",
        "income",
        "ideology"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "welfare2",
      "title": "Fake data set with 2000 observations",
      "object": "welfare2",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "support",
        "inequality",
        "income",
        "ideology",
        "country",
        "gap"
      ],
      "rows": 3200,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "classify",
      "title": "Classify data points",
      "topics": [
        "classify"
      ]
    },
    {
      "page": "coef.dpGLM",
      "title": "Extract dpGLM fitted coefficients",
      "topics": [
        "coef.dpGLM"
      ]
    },
    {
      "page": "coef.hdpGLM",
      "title": "Extract hdpGLM fitted coefficients",
      "topics": [
        "coef.hdpGLM"
      ]
    },
    {
      "page": "hdpGLM",
      "title": "hdpGLM: A package for computating Hierarchical Dirichlet Process Generalized Linear Models",
      "topics": [
        "hdpGLM-package",
        "hdpGLM"
      ]
    },
    {
      "page": "hdpGLM_classify",
      "title": "Deprecated",
      "topics": [
        "hdpGLM_classify"
      ]
    },
    {
      "page": "hdpGLM_simParameters",
      "title": "Simulate the parameters of the model",
      "topics": [
        "hdpGLM_simParameters"
      ]
    },
    {
      "page": "hdpGLM_simulateData",
      "title": "Simulate a Data Set from hdpGLM",
      "topics": [
        "hdpGLM_simulateData"
      ]
    },
    {
      "page": "mcmc_info.dpGLM",
      "title": "mcmc",
      "topics": [
        "mcmc_info.dpGLM"
      ]
    },
    {
      "page": "mcmc_info.hdpGLM",
      "title": "mcmc",
      "topics": [
        "mcmc_info.hdpGLM"
      ]
    },
    {
      "page": "nclusters",
      "title": "nclusters",
      "topics": [
        "nclusters"
      ]
    },
    {
      "page": "plot_beta",
      "title": "Plot beta posterior distribution",
      "topics": [
        "plot_beta"
      ]
    },
    {
      "page": "plot_beta_sim",
      "title": "Plot simulated data",
      "topics": [
        "plot_beta_sim"
      ]
    },
    {
      "page": "plot_hdpglm",
      "title": "Plot posterior distributions",
      "topics": [
        "plot_hdpglm"
      ]
    },
    {
      "page": "plot_pexp_beta",
      "title": "Plot beta posterior expectation",
      "topics": [
        "plot_pexp_beta"
      ]
    },
    {
      "page": "plot_tau",
      "title": "Plot tau",
      "topics": [
        "plot_tau"
      ]
    },
    {
      "page": "plot.dpGLM",
      "title": "Default plot for class dpGLM",
      "topics": [
        "plot.dpGLM"
      ]
    },
    {
      "page": "plot.hdpGLM",
      "title": "Plot",
      "topics": [
        "plot.hdpGLM"
      ]
    },
    {
      "page": "predict.dpGLM",
      "title": "dpGLM Predicted values",
      "topics": [
        "predict.dpGLM"
      ]
    },
    {
      "page": "predict.hdpGLM",
      "title": "hdpGLM Predicted values",
      "topics": [
        "predict.hdpGLM"
      ]
    },
    {
      "page": "print.dpGLM",
      "title": "Print",
      "topics": [
        "print.dpGLM"
      ]
    },
    {
      "page": "print.dpGLM_data",
      "title": "Print",
      "topics": [
        "print.dpGLM_data"
      ]
    },
    {
      "page": "print.hdpGLM",
      "title": "Print",
      "topics": [
        "print.hdpGLM"
      ]
    },
    {
      "page": "print.hdpGLM_data",
      "title": "Print",
      "topics": [
        "print.hdpGLM_data"
      ]
    },
    {
      "page": "summary_tidy",
      "title": "Tidy summary",
      "topics": [
        "summary_tidy"
      ]
    },
    {
      "page": "summary.dpGLM",
      "title": "Summary for dpGLM class",
      "topics": [
        "summary.dpGLM"
      ]
    },
    {
      "page": "summary.dpGLM_data",
      "title": "Summary dpGLM data",
      "topics": [
        "summary.dpGLM_data"
      ]
    },
    {
      "page": "summary.hdpGLM",
      "title": "Summary for hdpGLM class",
      "topics": [
        "summary.hdpGLM"
      ]
    },
    {
      "page": "summary.hdpGLM_data",
      "title": "Summary",
      "topics": [
        "summary.hdpGLM_data"
      ]
    },
    {
      "page": "welfare",
      "title": "Fake data set with 2000 observations",
      "topics": [
        "welfare"
      ]
    },
    {
      "page": "welfare2",
      "title": "Fake data set with 2000 observations",
      "topics": [
        "welfare2"
      ]
    }
  ],
  "_readme": "https://github.com/cran/hdpGLM/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "base64enc",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "checkmate",
    "cli",
    "cluster",
    "coda",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "data.table",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forecast",
    "foreign",
    "Formula",
    "formula.tools",
    "fracdiff",
    "fs",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggridges",
    "ggsci",
    "ggsignif",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "LaplacesDemon",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "operator.tools",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "polynom",
    "purrr",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstatix",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tinytex",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "hdpGLM.Rmd",
      "filename": "hdpGLM.html",
      "title": "hdpGLM",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Background",
        "Usage",
        "Estimation",
        "Estimating Context-dependent Latent Heterogeneity",
        "Reference"
      ],
      "created": "2020-11-09 19:30:05",
      "modified": "2022-05-06 23:10:02",
      "commits": 2
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "hdpglm",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://diogoferrari.r-universe.dev/hdpGLM",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-06-14T09:52:26.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "3196c823e1d125a73840e09b59db6de5170f758f",
      "fileid": "0f5eaf3b01e1b36961ab36141d0c0aee2dff13ea2f549ecde1d87cbabed695bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27494993076"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-06-14T09:52:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "3196c823e1d125a73840e09b59db6de5170f758f",
      "fileid": "d395754f073b4d1a57b8c8a46e75f82136afb865aba09fae875dc2bb903a47da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27494993076"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-06-14T09:52:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "3196c823e1d125a73840e09b59db6de5170f758f",
      "fileid": "3743f177ca4d9a0e9998746b8e56d4b1a7d1de857f72a00211781d9b3c8a14cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27494993076"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-06-14T09:52:20.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "3196c823e1d125a73840e09b59db6de5170f758f",
      "fileid": "c65e6f12c760b84b3b9efdca217f4c29a289288f1e5ecada83f22c8f50c741eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27494993076"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5",
      "date": "2026-06-14T09:52:15.000Z",
      "arch": "emscripten",
      "commit": "3196c823e1d125a73840e09b59db6de5170f758f",
      "fileid": "ad3a175bf6be29f1a9dd4dedd847968400f6b38086b2e8c38c8c63e215b4ad4c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27494993076"
    }
  ]
}