{
  "_id": "6a2e6d1c3efcd9bda4312791",
  "Package": "bgms",
  "Type": "Package",
  "Title": "Bayesian Analysis of Networks of Binary and/or Ordinal Variables",
  "Version": "0.1.6.3",
  "Date": "2026-02-14",
  "Authors@R": "c(\nperson(\"Maarten\", \"Marsman\", , \"m.marsman@uva.nl\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-5309-7502\")),\nperson(\"Don\", \"van den Bergh\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-9838-7308\")),\nperson(\"Nikola\", \"Sekulovski\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0001-7032-1684\")),\nperson(\"Giuseppe\", \"Arena\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0001-5204-3326\")),\nperson(\"Laura\", \"Groot\", role = \"ctb\"),\nperson(\"Gali\", \"Geller\", role = \"ctb\")\n)",
  "Maintainer": "Maarten Marsman <m.marsman@uva.nl>",
  "Description": "Bayesian variable selection methods for analyzing the\nstructure of a Markov random field model for a network of\nbinary and/or ordinal variables.",
  "Copyright": "Includes datasets 'ADHD' and 'Boredom', which are licensed\nunder CC-BY 4. See individual data documentation for license\nand citation.",
  "License": "GPL (>= 2)",
  "URL": "https://Bayesian-Graphical-Modelling-Lab.github.io/bgms/,\nhttps://github.com/Bayesian-Graphical-Modelling-Lab/bgms",
  "BugReports": "https://github.com/Bayesian-Graphical-Modelling-Lab/bgms/issues",
  "RdMacros": "Rdpack",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "tidyverse/tidytemplate",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-14 08:51:14 UTC",
    "User": "root"
  },
  "Author": "Maarten Marsman [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5309-7502>), Don van den Bergh\n[aut] (ORCID: <https://orcid.org/0000-0002-9838-7308>), Nikola\nSekulovski [ctb] (ORCID:\n<https://orcid.org/0000-0001-7032-1684>), Giuseppe Arena [ctb]\n(ORCID: <https://orcid.org/0000-0001-5204-3326>), Laura Groot\n[ctb], Gali Geller [ctb]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-02-14 16:50:09 UTC",
  "RemoteUrl": "https://github.com/cran/bgms",
  "RemoteRef": "HEAD",
  "RemoteSha": "2e2d88ce1d70a969de9cc13f7fe9c6974686421b",
  "MD5sum": "a53ce6d95b605e4bbb3825705df65437",
  "_user": "cran",
  "_type": "src",
  "_file": "bgms_0.1.6.3.tar.gz",
  "_fileid": "5bef64291768b02bdbf3cb8c327b3af21996c5afe4eb52e69bfb381361220866",
  "_filesize": 1360776,
  "_sha256": "5bef64291768b02bdbf3cb8c327b3af21996c5afe4eb52e69bfb381361220866",
  "_created": "2026-06-14T08:51:14.000Z",
  "_published": "2026-06-14T08:58:04.930Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81264017207,
      "time": 277,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7619391354"
    },
    {
      "job": 81264017178,
      "time": 251,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7619387993"
    },
    {
      "job": 81264017179,
      "time": 259,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7619389248"
    },
    {
      "job": 81264017187,
      "time": 246,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7619387316"
    },
    {
      "job": 81263569878,
      "time": 427,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7619354660"
    },
    {
      "job": 81264017163,
      "time": 241,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27493634756",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/bgms",
  "_commit": {
    "id": "2e2d88ce1d70a969de9cc13f7fe9c6974686421b",
    "author": "Maarten Marsman <m.marsman@uva.nl>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.6.3\n",
    "time": 1771087809
  },
  "_maintainer": {
    "name": "Maarten Marsman",
    "email": "m.marsman@uva.nl",
    "login": "maartenmarsman",
    "description": "Assistant professor at the University of Amsterdam.",
    "uuid": 52934067,
    "orcid": "0000-0001-5309-7502"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "dqrng",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.7",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "qgraph",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.6.0",
      "date": "2025-09-27"
    },
    {
      "name": "0.1.6.1",
      "date": "2025-10-04"
    },
    {
      "name": "0.1.6.2",
      "date": "2026-01-20"
    },
    {
      "name": "0.1.6.3",
      "date": "2026-02-14"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "maartenmarsman",
      "count": 12,
      "uuid": 52934067
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 606,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 397,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bgms"
  },
  "_devurl": "https://github.com/bayesian-graphical-modelling-lab/bgms",
  "_pkgdown": "https://Bayesian-Graphical-Modelling-Lab.github.io/bgms/",
  "_searchresults": 82,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bgms.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bayesian-graphical-modelling-lab/bgms",
  "_realowner": "bayesian-graphical-modelling-lab",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-04-21"
    },
    {
      "version": "0.1.1",
      "date": "2023-09-01"
    },
    {
      "version": "0.1.2",
      "date": "2023-10-13"
    },
    {
      "version": "0.1.3",
      "date": "2024-02-25"
    },
    {
      "version": "0.1.3.1",
      "date": "2024-05-15"
    },
    {
      "version": "0.1.4",
      "date": "2024-10-20"
    },
    {
      "version": "0.1.4.1",
      "date": "2024-11-14"
    },
    {
      "version": "0.1.4.2",
      "date": "2024-12-05"
    },
    {
      "version": "0.1.6.0",
      "date": "2025-09-27"
    },
    {
      "version": "0.1.6.1",
      "date": "2025-10-04"
    },
    {
      "version": "0.1.6.2",
      "date": "2026-01-20"
    },
    {
      "version": "0.1.6.3",
      "date": "2026-02-16"
    }
  ],
  "_exports": [
    "bgm",
    "bgmCompare",
    "extract_arguments",
    "extract_category_thresholds",
    "extract_edge_indicators",
    "extract_ess",
    "extract_group_params",
    "extract_indicator_priors",
    "extract_indicators",
    "extract_pairwise_interactions",
    "extract_pairwise_thresholds",
    "extract_posterior_inclusion_probabilities",
    "extract_rhat",
    "extract_sbm",
    "mrfSampler",
    "simulate_mrf"
  ],
  "_datasets": [
    {
      "name": "ADHD",
      "title": "ADHD Symptom Checklist for Children Aged 6–8 Years",
      "object": "ADHD",
      "class": [
        "data.frame"
      ],
      "fields": [
        "group",
        "avoid",
        "closeatt",
        "distract",
        "forget",
        "instruct",
        "listen",
        "loses",
        "org",
        "susatt",
        "blurts",
        "fidget",
        "interrupt",
        "motor",
        "quiet",
        "runs",
        "seat",
        "talks",
        "turn"
      ],
      "rows": 355,
      "table": true,
      "tojson": true
    },
    {
      "name": "Boredom",
      "title": "Short Boredom Proneness Scale Responses",
      "object": "Boredom",
      "class": [
        "data.frame"
      ],
      "fields": [
        "language",
        "loose_ends",
        "entertain",
        "repetitive",
        "stimulation",
        "motivated",
        "keep_interest",
        "sit_around",
        "half_dead_dull"
      ],
      "rows": 986,
      "table": true,
      "tojson": true
    },
    {
      "name": "Wenchuan",
      "title": "PTSD Symptoms in Wenchuan Earthquake Survivors Who Lost a Child",
      "object": "Wenchuan",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "intrusion",
        "dreams",
        "flash",
        "upset",
        "physior",
        "avoidth",
        "avoidact",
        "amnesia",
        "lossint",
        "distant",
        "numb",
        "future",
        "sleep",
        "anger",
        "concen",
        "hyper",
        "startle"
      ],
      "rows": 362,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ADHD",
      "title": "ADHD Symptom Checklist for Children Aged 6–8 Years",
      "topics": [
        "ADHD"
      ]
    },
    {
      "page": "bgm",
      "title": "Bayesian Estimation or Edge Selection for Markov Random Fields",
      "topics": [
        "bgm"
      ]
    },
    {
      "page": "bgmCompare",
      "title": "Bayesian Estimation and Variable Selection for Group Differences in Markov Random Fields",
      "topics": [
        "bgmCompare"
      ]
    },
    {
      "page": "Boredom",
      "title": "Short Boredom Proneness Scale Responses",
      "topics": [
        "Boredom"
      ]
    },
    {
      "page": "coef.bgmCompare",
      "title": "Extract Coefficients from a bgmCompare Object",
      "topics": [
        "coef.bgmCompare"
      ]
    },
    {
      "page": "coef.bgms",
      "title": "Extract Coefficients from a bgms Object",
      "topics": [
        "coef.bgms"
      ]
    },
    {
      "page": "predict.bgmCompare",
      "title": "Predict Conditional Probabilities from a Fitted bgmCompare Model",
      "topics": [
        "predict.bgmCompare"
      ]
    },
    {
      "page": "predict.bgms",
      "title": "Predict Conditional Probabilities from a Fitted bgms Model",
      "topics": [
        "predict.bgms"
      ]
    },
    {
      "page": "print.bgmCompare",
      "title": "Print method for `bgmCompare` objects",
      "topics": [
        "print.bgmCompare"
      ]
    },
    {
      "page": "print.bgms",
      "title": "Print method for `bgms` objects",
      "topics": [
        "print.bgms"
      ]
    },
    {
      "page": "simulate_mrf",
      "title": "Simulate Observations from an Ordinal MRF",
      "topics": [
        "simulate_mrf"
      ]
    },
    {
      "page": "simulate.bgmCompare",
      "title": "Simulate Data from a Fitted bgmCompare Model",
      "topics": [
        "simulate.bgmCompare"
      ]
    },
    {
      "page": "simulate.bgms",
      "title": "Simulate Data from a Fitted bgms Model",
      "topics": [
        "simulate.bgms"
      ]
    },
    {
      "page": "summary.bgmCompare",
      "title": "Summary method for `bgmCompare` objects",
      "topics": [
        "summary.bgmCompare"
      ]
    },
    {
      "page": "summary.bgms",
      "title": "Summary method for `bgms` objects",
      "topics": [
        "summary.bgms"
      ]
    },
    {
      "page": "Wenchuan",
      "title": "PTSD Symptoms in Wenchuan Earthquake Survivors Who Lost a Child",
      "topics": [
        "Wenchuan"
      ]
    }
  ],
  "_readme": "https://github.com/cran/bgms/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "coda",
    "dqrng",
    "lattice",
    "lifecycle",
    "rbibutils",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "Rdpack",
    "rlang",
    "sitmo"
  ],
  "_sysdeps": [
    {
      "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"
    }
  ],
  "_vignettes": [
    {
      "source": "diagnostics.Rmd",
      "filename": "diagnostics.html",
      "title": "Diagnostics and Spike-and-Slab Summaries",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Example fit",
        "Convergence diagnostics",
        "Spike-and-slab summaries",
        "Bayes factors",
        "Next steps"
      ],
      "created": "2025-09-27 19:10:02",
      "modified": "2026-02-14 16:50:09",
      "commits": 3
    },
    {
      "source": "intro.Rmd",
      "filename": "intro.html",
      "title": "Getting Started with bgms",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Wenchuan dataset",
        "Fitting a model",
        "Posterior summaries",
        "Network plot",
        "Next steps"
      ],
      "created": "2025-09-27 19:10:02",
      "modified": "2026-02-14 16:50:09",
      "commits": 3
    },
    {
      "source": "comparison.Rmd",
      "filename": "comparison.html",
      "title": "Model Comparison with bgmCompare",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "ADHD dataset",
        "Fitting a model",
        "Posterior summaries",
        "Visualizing group networks",
        "Next steps"
      ],
      "created": "2025-09-27 19:10:02",
      "modified": "2026-02-14 16:50:09",
      "commits": 3
    }
  ],
  "_score": 5.169086357487023,
  "_indexed": false,
  "_nocasepkg": "bgms",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://bayesian-graphical-modelling-lab.r-universe.dev/bgms",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.6.3",
      "date": "2026-06-14T08:55:21.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2e2d88ce1d70a969de9cc13f7fe9c6974686421b",
      "fileid": "d9eedf2e7f30fb79edb9e5f6d2266f733566b26d529e4286271c6cf5f4f2317a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27493634756"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.6.3",
      "date": "2026-06-14T08:55:20.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2e2d88ce1d70a969de9cc13f7fe9c6974686421b",
      "fileid": "8408c28052703c3c1304294e2699c33f5f88bf89cd9416debc2e951ccee07de7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27493634756"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.6.3",
      "date": "2026-06-14T08:55:17.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2e2d88ce1d70a969de9cc13f7fe9c6974686421b",
      "fileid": "5bd7ae5228a165798afd144780fff0de3aacbe0aa2a255cd4d6c67da4a941dbe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27493634756"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.6.3",
      "date": "2026-06-14T08:55:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2e2d88ce1d70a969de9cc13f7fe9c6974686421b",
      "fileid": "7e2be1f0902c832aaae7c250589d65fb84b178de3956aa6041ef34f480ecf4df",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27493634756"
    }
  ]
}