Skip to content

makemyprior

Intuitive Construction of Joint Priors for Variance Parameters

v1.2.2 · Aug 23, 2024 · GPL (>= 2)

Description

Tool for easy prior construction and visualization. It helps to formulates joint prior distributions for variance parameters in latent Gaussian models. The resulting prior is robust and can be created in an intuitive way. A graphical user interface (GUI) can be used to choose the joint prior, where the user can click through the model and select priors. An extensive guide is available in the GUI. The package allows for direct inference with the specified model and prior. Using a hierarchical variance decomposition, we formulate a joint variance prior that takes the whole model structure into account. In this way, existing knowledge can intuitively be incorporated at the level it applies to. Alternatively, one can use independent variance priors for each model components in the latent Gaussian model. Details can be found in the accompanying scientific paper: Hem, Fuglstad, Riebler (2024, Journal of Statistical Software, <doi:10.18637/jss.v110.i03>).

Downloads

CRAN

257

Last 30 days

16327th

690

Last 90 days

2.6K

Last year

Trend: +54.8% (30d vs prior 30d)

r2u CRAN

10

Last 30 days

25

Last 90 days

123

Last year

Trend: -33.3% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 30, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘INLA’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘INLA’
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘latin_square.Rmd’ using rmarkdown
--- finished re-building ‘latin_square.Rmd’

--- re-building ‘make_prior.Rmd’ using rmarkdown
makemyprior_models         package:makemyprior         R Documentation
...[truncated]...
 R is aborting now ...
--- re-building ‘wheat_breeding.Rmd’ using rmarkdown
--- finished re-building ‘wheat_breeding.Rmd’

SUMMARY: processing the following file failed:
  ‘neonatal_mortality.Rmd’

Error: Vignette re-building failed.
Execution halted
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘INLA’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘INLA’

Dependency Network

Dependencies Reverse dependencies ggplot2 Matrix shiny shinyjs shinyBS visNetwork rlang MASS makemyprior

Version History

7 tracked
new 1.2.2 Mar 10, 2026
updated 1.2.2 ← 1.2.1 diff Aug 22, 2024
updated 1.2.1 ← 1.2.0 diff Apr 8, 2024
updated 1.2.0 ← 1.1.0 diff Mar 5, 2024
updated 1.1.0 ← 1.0.1 diff Mar 13, 2022
updated 1.0.1 ← 1.0.0 diff Feb 20, 2022
new 1.0.0 May 17, 2021