Package: localhierarchy 0.91
localhierarchy: An R package to facilitate fitting of global and local Bayesian hierarchical models
The localhierarchy package implements a flexible set up to estimate parameters hierarchically and to carry out local model fits, whereby higher-level parameters are fixed.
Authors:
localhierarchy_0.91.tar.gz
localhierarchy_0.91.zip(r-4.7)localhierarchy_0.91.zip(r-4.6)localhierarchy_0.91.zip(r-4.5)
localhierarchy_0.91.tgz(r-4.6-any)localhierarchy_0.91.tgz(r-4.5-any)
localhierarchy_0.91.tar.gz(r-4.7-any)localhierarchy_0.91.tar.gz(r-4.6-any)
localhierarchy_0.91.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
localhierarchy/json (API)
| # Install 'localhierarchy' in R: |
| install.packages('localhierarchy', repos = c('https://alkemalab.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/alkemalab/localhierarchy/issues
Pkgdown/docs site:https://alkemalab.github.io
Last updated from:5cc0bf1d4c. Checks:7 WARNING, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | WARNING | 154 | ||
| source / vignettes | OK | 223 | ||
| linux-release-x86_64 | WARNING | 152 | ||
| macos-release-arm64 | WARNING | 122 | ||
| macos-oldrel-arm64 | WARNING | 93 | ||
| windows-devel | WARNING | 112 | ||
| windows-release | WARNING | 96 | ||
| windows-oldrel | WARNING | 118 | ||
| wasm-release | OK | 119 |
Exports:check_nasfit_model_localhierarchyget_geo_unit_index_dataget_posterior_summaries_localhierarchyhierarchical_datahierarchical_model_matrixhierarchical_param_stan_dataplot_muraw_localhierarchyplot_posterior_summaries_localhierarchyplot_prior_post_sigmas_localhierarchyposterior_summary_hierparam_localhierarchysimulate_multilevel_data
Dependencies:abindarrayhelpersbackportsbitbit64checkmateclicliprcodacpp11crayondistributionaldplyrfarvergenericsggdistggplot2gluegtablehmsisobandlabelinglatticelifecyclemagrittrmatrixStatsnumDerivpillarpkgconfigposteriorprettyunitsprogresspurrrquadprogR6RColorBrewerRcppreadrrlangS7scalesstringistringrsvUnittensorAtibbletidybayestidyrtidyselecttruncnormtzdbutf8vctrsviridisLitevroomwithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Check for missing values | check_nas |
| Fit localhierarchy example model | fit_model_localhierarchy |
| Get unique hierarchical levels from survey data | get_geo_unit_index_data |
| Get posterior summaries for use in local models | get_posterior_summaries_localhierarchy |
| Create hierarchical data structure for a hierarchical model. | hierarchical_data |
| Hierarchical model matrix | hierarchical_model_matrix |
| Stan data for hierarchical parameters | hierarchical_param_stan_data |
| Plot prior and posterior densities of location parameters | plot_muraw_localhierarchy |
| Plot summaries of hierarchical parameters | plot_posterior_summaries_localhierarchy |
| Plot prior and posteriors of sigmas from hierarchical models | plot_prior_post_sigmas_localhierarchy |
| Calculate posterior summaries for hierarchical parameters | posterior_summary_hierparam_localhierarchy |
| Simulate multilevel data | simulate_multilevel_data |
