{
  "_id": "6a156982acfb0bcc41d62b18",
  "Package": "makemyprior",
  "Title": "Intuitive Construction of Joint Priors for Variance Parameters",
  "Version": "1.2.2",
  "Authors@R": "c(\nperson(\"Ingeborg\", \"Hem\", email = \"ingeborg.hem@ntnu.no\", role = c(\"cre\", \"aut\"), comment = c(ORCID = \"0009-0008-3229-0184\")),\nperson(\"Geir-Arne\", \"Fuglstad\", role = \"aut\", comment = c(ORCID = \"0000-0003-4995-2152\")),\nperson(\"Andrea\", \"Riebler\", role = \"aut\", comment = c(ORCID = \"0009-0004-3998-4032\")))",
  "Description": "Tool for easy prior construction and visualization. It\nhelps to formulates joint prior distributions for variance\nparameters in latent Gaussian models. The resulting prior is\nrobust and can be created in an intuitive way. A graphical user\ninterface (GUI) can be used to choose the joint prior, where\nthe user can click through the model and select priors. An\nextensive guide is available in the GUI. The package allows for\ndirect inference with the specified model and prior. Using a\nhierarchical variance decomposition, we formulate a joint\nvariance prior that takes the whole model structure into\naccount. In this way, existing knowledge can intuitively be\nincorporated at the level it applies to. Alternatively, one can\nuse independent variance priors for each model components in\nthe latent Gaussian model. Details can be found in the\naccompanying scientific paper: Hem, Fuglstad, Riebler (2024,\nJournal of Statistical Software, <doi:10.18637/jss.v110.i03>).",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/ingebogh/makemyprior",
  "BugReports": "https://github.com/ingebogh/makemyprior/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Additional_repositories": "https://inla.r-inla-download.org/R/stable/",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://ingebogh.r-universe.dev",
  "Date/Publication": "2024-08-23 10:34:29 UTC",
  "RemoteUrl": "https://github.com/ingebogh/makemyprior",
  "RemoteRef": "HEAD",
  "RemoteSha": "ab64744f1ec514783d40bc37f2d98c78081c844b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-26 09:30:55 UTC",
    "User": "root"
  },
  "Author": "Ingeborg Hem [cre, aut] (ORCID:\n<https://orcid.org/0009-0008-3229-0184>),\nGeir-Arne Fuglstad [aut] (ORCID:\n<https://orcid.org/0000-0003-4995-2152>),\nAndrea Riebler [aut] (ORCID: <https://orcid.org/0009-0004-3998-4032>)",
  "Maintainer": "Ingeborg Hem <ingeborg.hem@ntnu.no>",
  "MD5sum": "03a1ed798461034118f92354c43b5682",
  "_user": "ingebogh",
  "_type": "src",
  "_file": "makemyprior_1.2.2.tar.gz",
  "_fileid": "f6d4d0ca0fa11b8e7f72f0238862ad0e0095de98e9566f3073ec18db8c642fca",
  "_filesize": 1088798,
  "_sha256": "f6d4d0ca0fa11b8e7f72f0238862ad0e0095de98e9566f3073ec18db8c642fca",
  "_created": "2026-05-26T09:30:55.000Z",
  "_published": "2026-05-26T09:36:02.500Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77846279455,
      "time": 261,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213659995"
    },
    {
      "job": 77846279528,
      "time": 232,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213650012"
    },
    {
      "job": 77846279475,
      "time": 168,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213621943"
    },
    {
      "job": 77846279530,
      "time": 191,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213628063"
    },
    {
      "job": 77845567890,
      "time": 250,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213568291"
    },
    {
      "job": 77846279463,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213620991"
    },
    {
      "job": 77846279471,
      "time": 177,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7213631747"
    },
    {
      "job": 77846279511,
      "time": 142,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213619463"
    },
    {
      "job": 77846279522,
      "time": 194,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213638881"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ingebogh/actions/runs/26444013781",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ingebogh/makemyprior",
  "_commit": {
    "id": "ab64744f1ec514783d40bc37f2d98c78081c844b",
    "author": "ingebogh <ingeborg.hem@ntnu.no>",
    "committer": "ingebogh <ingeborg.hem@ntnu.no>",
    "message": "citation\n",
    "time": 1724409269
  },
  "_maintainer": {
    "name": "Ingeborg Hem",
    "email": "ingeborg.hem@ntnu.no"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "shinyjs",
      "role": "Imports"
    },
    {
      "package": "shinyBS",
      "role": "Imports"
    },
    {
      "package": "visNetwork",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.21.2",
      "role": "Suggests"
    },
    {
      "package": "INLA",
      "version": ">= 20.03.17",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "ingebogh",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "ingebogh",
      "count": 9,
      "uuid": 47143651
    },
    {
      "user": "zeileis",
      "count": 2,
      "uuid": 61125774
    }
  ],
  "_userbio": {
    "uuid": 47143651,
    "type": "user",
    "name": "Ingeborg Hem Sørmoen"
  },
  "_downloads": {
    "count": 181,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/makemyprior"
  },
  "_devurl": "https://github.com/ingebogh/makemyprior",
  "_searchresults": 19,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/makemyprior.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ingebogh/makemyprior",
  "_realowner": "ingebogh",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2021-05-18"
    },
    {
      "version": "1.0.1",
      "date": "2022-02-21"
    },
    {
      "version": "1.1.0",
      "date": "2022-03-14"
    },
    {
      "version": "1.2.0",
      "date": "2024-03-06"
    },
    {
      "version": "1.2.1",
      "date": "2024-04-09"
    },
    {
      "version": "1.2.2",
      "date": "2024-08-26"
    }
  ],
  "_exports": [
    "compile_stan",
    "create_stan_file",
    "eval_joint_prior",
    "eval_pc_prior",
    "expit",
    "extract_posterior_effect",
    "extract_posterior_parameter",
    "find_pc_prior_param",
    "get_parameter_order",
    "inference_inla",
    "inference_stan",
    "logit",
    "make_eval_prior_data",
    "make_prior",
    "makemyprior_example_model",
    "makemyprior_gui",
    "makemyprior_models",
    "makemyprior_plotting",
    "mc",
    "plot_marginal_prior",
    "plot_posterior_fixed",
    "plot_posterior_precision",
    "plot_posterior_stan",
    "plot_posterior_stdev",
    "plot_posterior_variance",
    "plot_prior",
    "plot_several_posterior_stan",
    "plot_tree_structure",
    "scale_precmat",
    "typical_variance"
  ],
  "_datasets": [
    {
      "name": "latin_data",
      "title": "Latin square experiment data",
      "object": "latin_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "neonatal_data",
      "title": "Neonatal mortality data",
      "object": "neonatal_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "wheat_data",
      "title": "Genomic wheat breeding model data",
      "object": "wheat_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "compile_stan",
      "title": "Compile stan-model",
      "topics": [
        "compile_stan"
      ]
    },
    {
      "page": "create_stan_file",
      "title": "Create a \"skeleton\" for custom Stan code",
      "topics": [
        "create_stan_file"
      ]
    },
    {
      "page": "eval_joint_prior",
      "title": "Evaluate the joint variance prior",
      "topics": [
        "eval_joint_prior",
        "make_eval_prior_data"
      ]
    },
    {
      "page": "eval_pc_prior",
      "title": "Evaluate PC prior for variance proportion",
      "topics": [
        "eval_pc_prior"
      ]
    },
    {
      "page": "expit",
      "title": "expit",
      "topics": [
        "expit"
      ]
    },
    {
      "page": "extract_posterior_effect",
      "title": "Extract the posterior of a random effect",
      "topics": [
        "extract_posterior_effect"
      ]
    },
    {
      "page": "extract_posterior_parameter",
      "title": "Extract the posterior parameter estimate",
      "topics": [
        "extract_posterior_parameter"
      ]
    },
    {
      "page": "find_pc_prior_param",
      "title": "Find suitable PC prior parameters",
      "topics": [
        "find_pc_prior_param"
      ]
    },
    {
      "page": "get_parameter_order",
      "title": "Internal variance parameter order",
      "topics": [
        "get_parameter_order"
      ]
    },
    {
      "page": "inference_inla",
      "title": "Run inference",
      "topics": [
        "inference_inla"
      ]
    },
    {
      "page": "inference_stan",
      "title": "Run inference",
      "topics": [
        "inference_stan"
      ]
    },
    {
      "page": "latin_data",
      "title": "Latin square experiment data",
      "topics": [
        "latin_data"
      ]
    },
    {
      "page": "logit",
      "title": "logit",
      "topics": [
        "logit"
      ]
    },
    {
      "page": "make_prior",
      "title": "Making a prior object",
      "topics": [
        "make_prior"
      ]
    },
    {
      "page": "makemyprior_example_model",
      "title": "Returning a simple example prior object",
      "topics": [
        "makemyprior_example_model"
      ]
    },
    {
      "page": "makemyprior_gui",
      "title": "Graphical prior construction",
      "topics": [
        "makemyprior_gui"
      ]
    },
    {
      "page": "makemyprior_models",
      "title": "List available priors, latent models and likelihoods",
      "topics": [
        "makemyprior_models"
      ]
    },
    {
      "page": "makemyprior_plotting",
      "title": "List of available plotting functions",
      "topics": [
        "makemyprior_plotting"
      ]
    },
    {
      "page": "mc",
      "title": "Define latent component",
      "topics": [
        "mc"
      ]
    },
    {
      "page": "neonatal_data",
      "title": "Neonatal mortality data",
      "topics": [
        "neonatal_data"
      ]
    },
    {
      "page": "plot_marginal_prior",
      "title": "Plotting prior for a single parameter (weight or variance (not standard deviation))",
      "topics": [
        "plot_marginal_prior"
      ]
    },
    {
      "page": "plot_posterior_fixed",
      "title": "Plotting posterior distributions",
      "topics": [
        "plot_posterior_fixed"
      ]
    },
    {
      "page": "plot_posterior_stan",
      "title": "Plotting posterior distributions",
      "topics": [
        "plot_posterior_stan"
      ]
    },
    {
      "page": "plot_posterior_variance",
      "title": "Plotting posterior variances, standard deviations or precisions",
      "topics": [
        "plot_posterior_precision",
        "plot_posterior_stdev",
        "plot_posterior_variance"
      ]
    },
    {
      "page": "plot_prior",
      "title": "Plotting prior distributions",
      "topics": [
        "plot_prior"
      ]
    },
    {
      "page": "plot_several_posterior_stan",
      "title": "Plotting several posterior distributions",
      "topics": [
        "plot_several_posterior_stan"
      ]
    },
    {
      "page": "plot_tree_structure",
      "title": "Plotting the prior tree structure graph",
      "topics": [
        "plot_tree_structure"
      ]
    },
    {
      "page": "plot.mmp_prior",
      "title": "Plotting",
      "topics": [
        "plot.mmp_inla",
        "plot.mmp_prior",
        "plot.mmp_stan"
      ]
    },
    {
      "page": "print.mmp_prior",
      "title": "Print",
      "topics": [
        "print.mmp_inla",
        "print.mmp_prior",
        "print.mmp_stan"
      ]
    },
    {
      "page": "scale_precmat",
      "title": "Scaling precision matrix",
      "topics": [
        "scale_precmat"
      ]
    },
    {
      "page": "summary.mmp_prior",
      "title": "Short summary",
      "topics": [
        "summary.mmp_inla",
        "summary.mmp_prior",
        "summary.mmp_stan"
      ]
    },
    {
      "page": "typical_variance",
      "title": "Compute the typical variance",
      "topics": [
        "typical_variance"
      ]
    },
    {
      "page": "wheat_data",
      "title": "Genomic wheat breeding model data",
      "topics": [
        "wheat_data"
      ]
    }
  ],
  "_readme": "https://github.com/ingebogh/makemyprior/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "digest",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "otel",
    "promises",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "shiny",
    "shinyBS",
    "shinyjs",
    "sourcetools",
    "tinytex",
    "vctrs",
    "viridisLite",
    "visNetwork",
    "withr",
    "xfun",
    "xtable",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "latin_square.Rmd",
      "filename": "latin_square.html",
      "title": "Latin square experiment",
      "author": "Ingeborg Gullikstad Hem (ingeborg.hem@ntnu.no)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model",
        "Prior 1",
        "Prior 2",
        "Prior 3",
        "References"
      ],
      "created": "2021-05-18 12:09:04",
      "modified": "2024-02-20 10:52:02",
      "commits": 3
    },
    {
      "source": "make_prior.Rmd",
      "filename": "make_prior.html",
      "title": "Example i.i.d. model",
      "author": "Ingeborg Gullikstad Hem (ingeborg.hem@ntnu.no)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Prior options",
        "Model description",
        "Make data and linear predictor",
        "Make prior",
        "Inference",
        "Stan",
        "INLA",
        "Default settings",
        "Additional examples",
        "References"
      ],
      "created": "2021-05-18 12:09:04",
      "modified": "2024-02-20 09:44:05",
      "commits": 2
    },
    {
      "source": "neonatal_mortality.Rmd",
      "filename": "neonatal_mortality.html",
      "title": "Neonatal mortality",
      "author": "Ingeborg Gullikstad Hem (ingeborg.hem@ntnu.no)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model",
        "Prior 1",
        "Prior 2",
        "References"
      ],
      "created": "2021-05-18 12:09:04",
      "modified": "2024-02-20 09:44:05",
      "commits": 2
    },
    {
      "source": "wheat_breeding.Rmd",
      "filename": "wheat_breeding.html",
      "title": "Wheat breeding",
      "author": "Ingeborg Gullikstad Hem (ingeborg.hem@ntnu.no)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model",
        "Prior 1",
        "Prior 2",
        "References"
      ],
      "created": "2021-05-18 12:09:04",
      "modified": "2023-11-07 10:54:50",
      "commits": 2
    }
  ],
  "_score": 5.056904851336473,
  "_indexed": true,
  "_nocasepkg": "makemyprior",
  "_universes": [
    "ingebogh"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-05-26T09:34:43.000Z",
      "distro": "noble",
      "commit": "ab64744f1ec514783d40bc37f2d98c78081c844b",
      "fileid": "0c18b5938432416f05d2f40154e0d122ae1e4ceb3c29bc4da777e34f2714a774",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ingebogh/actions/runs/26444013781"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-05-26T09:34:22.000Z",
      "distro": "noble",
      "commit": "ab64744f1ec514783d40bc37f2d98c78081c844b",
      "fileid": "f2dc94d4fe3b6555d5cf94b73e1ed96cef1f986d5ff7d3f318a88f3a5d3b00f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ingebogh/actions/runs/26444013781"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-05-26T09:33:21.000Z",
      "commit": "ab64744f1ec514783d40bc37f2d98c78081c844b",
      "fileid": "72463d960fce9a4d12377d72604a62997ed30a2b36422b7d850a76f08aa09fd1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ingebogh/actions/runs/26444013781"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-05-26T09:33:28.000Z",
      "commit": "ab64744f1ec514783d40bc37f2d98c78081c844b",
      "fileid": "e19c298d61aebc0c526a16b13c05054e37b18a610722ca41e19af1d426dc5dbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ingebogh/actions/runs/26444013781"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2",
      "date": "2026-05-26T09:33:50.000Z",
      "commit": "ab64744f1ec514783d40bc37f2d98c78081c844b",
      "fileid": "f5f67af632f7de9915850ee32141d70a7a63f836e60cd90baa75d43f4ba1519a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ingebogh/actions/runs/26444013781"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-05-26T09:33:12.000Z",
      "commit": "ab64744f1ec514783d40bc37f2d98c78081c844b",
      "fileid": "63f7418ac9cdc78a2dd34df92f22b23360b38e4ee2af292479d27e4416f95136",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ingebogh/actions/runs/26444013781"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-05-26T09:32:41.000Z",
      "commit": "ab64744f1ec514783d40bc37f2d98c78081c844b",
      "fileid": "f41277d9c511a2550079d82e810c7f3887bc88e56f763155d11adff00dfa6b87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ingebogh/actions/runs/26444013781"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-05-26T09:33:37.000Z",
      "commit": "ab64744f1ec514783d40bc37f2d98c78081c844b",
      "fileid": "3539aaae25d4d4c0213292829bd2c635faca6f99c09bba585c37c40556f344fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ingebogh/actions/runs/26444013781"
    }
  ]
}