{
  "_id": "6a5f9efd14e95619b75d6f89",
  "Package": "rstan",
  "Type": "Package",
  "Title": "R Interface to Stan",
  "Version": "2.39.0.9000",
  "Authors@R": "c(person(\"Jiqiang\", \"Guo\", email = \"guojq28@gmail.com\", role = \"aut\"),\nperson(\"Jonah\", \"Gabry\", email = \"jgabry@gmail.com\", role = \"aut\"),\nperson(\"Ben\", \"Goodrich\", email = \"benjamin.goodrich@columbia.edu\", role = c(\"cre\", \"aut\")),\nperson(\"Andrew\", \"Johnson\", email = \"andrew.johnson@arjohnsonau.com\", role = \"aut\"),\nperson(\"Sebastian\", \"Weber\", email = \"sdw.post@waebers.de\", role = \"aut\"),\nperson(\"Hamada S.\", \"Badr\", role = c(\"aut\"),\nemail = \"badr@jhu.edu\",\ncomment = c(ORCID = \"0000-0002-9808-2344\")),\nperson(\"Daniel\", \"Lee\", role = \"ctb\"),\nperson(\"Krzysztof\", \"Sakrejda\", role = \"ctb\"),\nperson(\"Modrak\", \"Martin\", role = \"ctb\"),\nperson(\"Trustees of\", \"Columbia University\", role = \"cph\"),\nperson(\"Oleg\", \"Sklyar\", role = \"cph\", comment = \"R/cxxfunplus.R\"),\nperson(\"The R\", \"Core Team\", role = \"cph\", comment = \"R/pairs.R, R/dynGet.R\"),\nperson(\"Jens\", \"Oehlschlaegel-Akiyoshi\", role = \"cph\", comment = \"R/pairs.R\"),\nperson(\"John\", \"Maddock\", role = \"cph\", comment = \"gamma.hpp\"),\nperson(\"Paul\", \"Bristow\", role = \"cph\", comment = \"gamma.hpp\"),\nperson(\"Nikhar\", \"Agrawal\", role = \"cph\", comment = \"gamma.hpp\"),\nperson(\"Christopher\", \"Kormanyos\", role = \"cph\", comment = \"gamma.hpp\"),\nperson(\"Bronder\", \"Steve\", role = \"ctb\"))",
  "Description": "User-facing R functions are provided to parse, compile,\ntest, estimate, and analyze Stan models by accessing the\nheader-only Stan library provided by the 'StanHeaders' package.\nThe Stan project develops a probabilistic programming language\nthat implements full Bayesian statistical inference via Markov\nChain Monte Carlo, rough Bayesian inference via 'variational'\napproximation, and (optionally penalized) maximum likelihood\nestimation via optimization. In all three cases, automatic\ndifferentiation is used to quickly and accurately evaluate\ngradients without burdening the user with the need to derive\nthe partial derivatives.",
  "License": "GPL (>=3)",
  "NeedsCompilation": "yes",
  "URL": "https://mc-stan.org/rstan/, https://discourse.mc-stan.org",
  "BugReports": "https://github.com/stan-dev/rstan/issues/",
  "VignetteBuilder": "knitr",
  "SystemRequirements": "GNU make, pandoc",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.2",
  "Config/testthat/edition": "3",
  "Config/build/compilation-database": "true",
  "Config/pak/sysreqs": "make",
  "Repository": "https://stan-dev.r-universe.dev",
  "Date/Publication": "2026-07-21 15:58:08 UTC",
  "RemoteUrl": "https://github.com/stan-dev/rstan",
  "RemoteRef": "develop",
  "RemoteSha": "45fd91f945203431810bfa889d891cf7ec724ff1",
  "RemoteSubdir": "rstan/rstan",
  "Packaged": {
    "Date": "2026-07-21 16:20:18 UTC",
    "User": "root"
  },
  "Author": "Jiqiang Guo [aut],\nJonah Gabry [aut],\nBen Goodrich [cre, aut],\nAndrew Johnson [aut],\nSebastian Weber [aut],\nHamada S. Badr [aut] (ORCID: <https://orcid.org/0000-0002-9808-2344>),\nDaniel Lee [ctb],\nKrzysztof Sakrejda [ctb],\nModrak Martin [ctb],\nTrustees of Columbia University [cph],\nOleg Sklyar [cph] (R/cxxfunplus.R),\nThe R Core Team [cph] (R/pairs.R, R/dynGet.R),\nJens Oehlschlaegel-Akiyoshi [cph] (R/pairs.R),\nJohn Maddock [cph] (gamma.hpp),\nPaul Bristow [cph] (gamma.hpp),\nNikhar Agrawal [cph] (gamma.hpp),\nChristopher Kormanyos [cph] (gamma.hpp),\nBronder Steve [ctb]",
  "Maintainer": "Ben Goodrich <benjamin.goodrich@columbia.edu>",
  "_user": "stan-dev",
  "_type": "src",
  "_file": "rstan_2.39.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/13678ec43a6ee9ce047c3fe70be15052746f407d8a256f76e16a1eef8df3a0f4",
  "_filesize": 2081798,
  "_sha256": "13678ec43a6ee9ce047c3fe70be15052746f407d8a256f76e16a1eef8df3a0f4",
  "_expires": "2026-10-29T16:31:54.000Z",
  "_created": "2026-07-21T16:20:18.000Z",
  "_published": "2026-07-21T16:31:56.918Z",
  "_jobs": [
    {
      "job": 88694250751,
      "time": 248,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8502348930"
    },
    {
      "job": 88694250807,
      "time": 331,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8502387715"
    },
    {
      "job": 88694250707,
      "time": 276,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8502362520"
    },
    {
      "job": 88694250725,
      "time": 349,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8502397796"
    },
    {
      "job": 88694250692,
      "time": 185,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8502399485"
    },
    {
      "job": 88694250840,
      "time": 506,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8502510285"
    },
    {
      "job": 88694250732,
      "time": 254,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8502439320"
    },
    {
      "job": 88694250743,
      "time": 306,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8502416536"
    },
    {
      "job": 88691994100,
      "time": 536,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8502224489"
    },
    {
      "job": 88694250629,
      "time": 172,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 88694250897,
      "time": 312,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8502379174"
    },
    {
      "job": 88694250689,
      "time": 304,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8502375501"
    },
    {
      "job": 88694250698,
      "time": 327,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8502386349"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29847559473",
  "_status": "success",
  "_upstream": "https://github.com/stan-dev/rstan",
  "_commit": {
    "id": "45fd91f945203431810bfa889d891cf7ec724ff1",
    "author": "Stan Jenkins <mc.stanislaw@gmail.com>",
    "committer": "Stan Jenkins <mc.stanislaw@gmail.com>",
    "message": "Updates the Stan submodule to d6e3d0317.\n",
    "time": 1784649488
  },
  "_maintainer": {
    "name": "Ben Goodrich",
    "email": "benjamin.goodrich@columbia.edu",
    "login": "bgoodri",
    "description": "",
    "uuid": 3386282
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.36.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.7",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.9.3",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "version": ">= 1.75.0-0",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.36.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.1.4",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats4",
      "role": "Imports"
    },
    {
      "package": "inline",
      "version": ">= 0.3.19",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "version": ">= 2.3",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.7",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.1.4",
      "role": "Imports"
    },
    {
      "package": "loo",
      "version": ">= 2.4.1",
      "role": "Imports"
    },
    {
      "package": "pkgbuild",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "QuickJSR",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.5",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.4",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "KernSmooth",
      "role": "Suggests"
    },
    {
      "package": "shinystan",
      "role": "Suggests"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rstantools",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "coda",
      "role": "Suggests"
    },
    {
      "package": "V8",
      "role": "Suggests"
    }
  ],
  "_owner": "stan-dev",
  "_selfowned": true,
  "_usedby": 300,
  "_updates": [
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2025-33",
      "n": 5
    },
    {
      "week": "2025-34",
      "n": 3
    },
    {
      "week": "2025-36",
      "n": 2
    },
    {
      "week": "2025-37",
      "n": 12
    },
    {
      "week": "2025-38",
      "n": 3
    },
    {
      "week": "2025-39",
      "n": 4
    },
    {
      "week": "2025-40",
      "n": 3
    },
    {
      "week": "2025-41",
      "n": 4
    },
    {
      "week": "2025-42",
      "n": 8
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 3
    },
    {
      "week": "2025-46",
      "n": 3
    },
    {
      "week": "2025-48",
      "n": 2
    },
    {
      "week": "2025-49",
      "n": 4
    },
    {
      "week": "2025-50",
      "n": 10
    },
    {
      "week": "2025-51",
      "n": 3
    },
    {
      "week": "2025-52",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 5
    },
    {
      "week": "2026-03",
      "n": 4
    },
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-07",
      "n": 6
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 3
    },
    {
      "week": "2026-10",
      "n": 5
    },
    {
      "week": "2026-11",
      "n": 4
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 3
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 3
    },
    {
      "week": "2026-20",
      "n": 4
    },
    {
      "week": "2026-21",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 3
    },
    {
      "week": "2026-23",
      "n": 5
    },
    {
      "week": "2026-24",
      "n": 4
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 2
    },
    {
      "week": "2026-28",
      "n": 6
    },
    {
      "week": "2026-29",
      "n": 5
    },
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "bayesian-data-analysis",
    "bayesian-inference",
    "bayesian-statistics",
    "mcmc",
    "stan",
    "cpp"
  ],
  "_stars": 1080,
  "_contributors": [
    {
      "user": "bgoodri",
      "count": 1246,
      "uuid": 3386282
    },
    {
      "user": "maverickg",
      "count": 978,
      "uuid": 68500
    },
    {
      "user": "hsbadr",
      "count": 608,
      "uuid": 7604200
    },
    {
      "user": "syclik",
      "count": 258,
      "uuid": 425751
    },
    {
      "user": "stan-buildbot",
      "count": 184,
      "uuid": 3512237
    },
    {
      "user": "jgabry",
      "count": 174,
      "uuid": 7796803
    },
    {
      "user": "andrjohns",
      "count": 60,
      "uuid": 27717896
    },
    {
      "user": "avehtari",
      "count": 38,
      "uuid": 6705400
    },
    {
      "user": "stevebronder",
      "count": 31,
      "uuid": 5857231
    },
    {
      "user": "mbrubake",
      "count": 18,
      "uuid": 3383416
    },
    {
      "user": "rok-cesnovar",
      "count": 16,
      "uuid": 28476796
    },
    {
      "user": "sakrejda",
      "count": 15,
      "uuid": 508137
    },
    {
      "user": "wds15",
      "count": 12,
      "uuid": 12070126
    },
    {
      "user": "visruthsk",
      "count": 11,
      "uuid": 67435125
    },
    {
      "user": "betanalpha",
      "count": 9,
      "uuid": 1527190
    },
    {
      "user": "bwiernik",
      "count": 7,
      "uuid": 4773225
    },
    {
      "user": "jpritikin",
      "count": 6,
      "uuid": 2002771
    },
    {
      "user": "matthewdhoffman",
      "count": 6,
      "uuid": 509707
    },
    {
      "user": "mespe",
      "count": 5,
      "uuid": 8185368
    },
    {
      "user": "reuning",
      "count": 5,
      "uuid": 6343832
    },
    {
      "user": "aaronjg",
      "count": 5,
      "uuid": 933256
    },
    {
      "user": "paul-buerkner",
      "count": 4,
      "uuid": 12938496
    },
    {
      "user": "seantalts",
      "count": 4,
      "uuid": 805356
    },
    {
      "user": "davharris",
      "count": 4,
      "uuid": 843017
    },
    {
      "user": "bdeonovic",
      "count": 3,
      "uuid": 805168
    },
    {
      "user": "lionel-",
      "count": 3,
      "uuid": 4465050
    },
    {
      "user": "weberse2",
      "count": 3,
      "uuid": 30827390
    },
    {
      "user": "topipa",
      "count": 3,
      "uuid": 24715100
    },
    {
      "user": "martinmodrak",
      "count": 3,
      "uuid": 9483603
    },
    {
      "user": "ssp3nc3r",
      "count": 3,
      "uuid": 19272141
    },
    {
      "user": "ecmerkle",
      "count": 2,
      "uuid": 4818626
    },
    {
      "user": "heavywatal",
      "count": 2,
      "uuid": 1431267
    },
    {
      "user": "sbfnk",
      "count": 2,
      "uuid": 1156307
    },
    {
      "user": "peterli2016",
      "count": 2,
      "uuid": 3487481
    },
    {
      "user": "randommm",
      "count": 2,
      "uuid": 4267674
    },
    {
      "user": "mcol",
      "count": 2,
      "uuid": 6078177
    },
    {
      "user": "jeroen",
      "count": 2,
      "uuid": 216319
    },
    {
      "user": "jeffreypullin",
      "count": 2,
      "uuid": 34267114
    },
    {
      "user": "jrnold",
      "count": 2,
      "uuid": 123968
    },
    {
      "user": "bnicenboim",
      "count": 2,
      "uuid": 5982330
    },
    {
      "user": "hredestig",
      "count": 1,
      "uuid": 1300566
    },
    {
      "user": "ilarischeinin",
      "count": 1,
      "uuid": 2540173
    },
    {
      "user": "jaredlander",
      "count": 1,
      "uuid": 628977
    },
    {
      "user": "mm--",
      "count": 1,
      "uuid": 3735202
    },
    {
      "user": "maxbiostat",
      "count": 1,
      "uuid": 2875083
    },
    {
      "user": "serban-nicusor-toptal",
      "count": 1,
      "uuid": 48496524
    },
    {
      "user": "torsti",
      "count": 1,
      "uuid": 698941
    },
    {
      "user": "foo-bar-baz-qux",
      "count": 1,
      "uuid": 7685769
    },
    {
      "user": "bart1",
      "count": 1,
      "uuid": 1662852
    },
    {
      "user": "davidmanheim",
      "count": 1,
      "uuid": 1664046
    },
    {
      "user": "jrmie",
      "count": 1,
      "uuid": 39067995
    },
    {
      "user": "thatchersj",
      "count": 1,
      "uuid": 46049880
    },
    {
      "user": "guyabel",
      "count": 1,
      "uuid": 2735201
    },
    {
      "user": "florence-bockting",
      "count": 1,
      "uuid": 48919471
    },
    {
      "user": "selbosh",
      "count": 1,
      "uuid": 7850509
    },
    {
      "user": "emaasit",
      "count": 1,
      "uuid": 7738216
    },
    {
      "user": "danovando",
      "count": 1,
      "uuid": 8096183
    },
    {
      "user": "infotroph",
      "count": 1,
      "uuid": 1256435
    },
    {
      "user": "wardbrian",
      "count": 1,
      "uuid": 31640292
    },
    {
      "user": "bbrewington",
      "count": 1,
      "uuid": 10573749
    },
    {
      "user": "brendan-r",
      "count": 1,
      "uuid": 3510374
    },
    {
      "user": "bisaloo",
      "count": 1,
      "uuid": 10783929
    },
    {
      "user": "aadler",
      "count": 1,
      "uuid": 5596401
    },
    {
      "user": "ahartikainen",
      "count": 1,
      "uuid": 13161958
    },
    {
      "user": "annakrystalli",
      "count": 1,
      "uuid": 5583057
    }
  ],
  "_userbio": {
    "uuid": 3374820,
    "type": "organization",
    "name": "Stan",
    "followers": 542
  },
  "_downloads": {
    "count": 1441995,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rstan"
  },
  "_mentions": 133,
  "_devurl": "https://github.com/stan-dev/rstan",
  "_pkgdown": "https://mc-stan.org/rstan/",
  "_searchresults": 19648,
  "_rbuild": "4.6.1",
  "_assets": [
    "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",
    "extra/rstan.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/stan-dev/rstan",
  "_realowner": "stan-dev",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.7.0-1",
      "date": "2015-07-18"
    },
    {
      "version": "2.8.0",
      "date": "2015-09-19"
    },
    {
      "version": "2.8.1",
      "date": "2015-11-19"
    },
    {
      "version": "2.8.2",
      "date": "2015-11-27"
    },
    {
      "version": "2.9.0",
      "date": "2016-01-05"
    },
    {
      "version": "2.9.0-3",
      "date": "2016-02-11"
    },
    {
      "version": "2.10.1",
      "date": "2016-06-24"
    },
    {
      "version": "2.11.1",
      "date": "2016-07-29"
    },
    {
      "version": "2.12.1",
      "date": "2016-09-12"
    },
    {
      "version": "2.13.2",
      "date": "2016-12-18"
    },
    {
      "version": "2.14.1",
      "date": "2016-12-28"
    },
    {
      "version": "2.14.2",
      "date": "2017-03-19"
    },
    {
      "version": "2.15.1",
      "date": "2017-04-19"
    },
    {
      "version": "2.16.2",
      "date": "2017-07-03"
    },
    {
      "version": "2.17.2",
      "date": "2017-12-21"
    },
    {
      "version": "2.17.3",
      "date": "2018-01-20"
    },
    {
      "version": "2.17.4",
      "date": "2018-10-01"
    },
    {
      "version": "2.18.1",
      "date": "2018-10-16"
    },
    {
      "version": "2.18.2",
      "date": "2018-11-07"
    },
    {
      "version": "2.19.2",
      "date": "2019-07-09"
    },
    {
      "version": "2.19.3",
      "date": "2020-02-11"
    },
    {
      "version": "2.21.1",
      "date": "2020-07-08"
    },
    {
      "version": "2.21.2",
      "date": "2020-07-27"
    },
    {
      "version": "2.21.3",
      "date": "2021-12-20"
    },
    {
      "version": "2.21.5",
      "date": "2022-04-11"
    },
    {
      "version": "2.21.7",
      "date": "2022-09-08"
    },
    {
      "version": "2.21.8",
      "date": "2023-01-17"
    },
    {
      "version": "2.26.23",
      "date": "2023-09-08"
    },
    {
      "version": "2.32.3",
      "date": "2023-10-15"
    },
    {
      "version": "2.32.5",
      "date": "2024-01-10"
    },
    {
      "version": "2.32.6",
      "date": "2024-03-05"
    },
    {
      "version": "2.32.7",
      "date": "2025-03-10"
    }
  ],
  "_exports": [
    "As.mcmc.list",
    "check_divergences",
    "check_energy",
    "check_hmc_diagnostics",
    "check_treedepth",
    "constrain_pars",
    "cpp_object_initializer",
    "ess_bulk",
    "ess_tail",
    "expose_stan_functions",
    "extract",
    "extract_sparse_parts",
    "get_adaptation_info",
    "get_bfmi",
    "get_cppcode",
    "get_cppo_mode",
    "get_cxxflags",
    "get_divergent_iterations",
    "get_elapsed_time",
    "get_inits",
    "get_logposterior",
    "get_low_bfmi_chains",
    "get_max_treedepth_iterations",
    "get_num_divergent",
    "get_num_leapfrog_per_iteration",
    "get_num_max_treedepth",
    "get_num_upars",
    "get_posterior_mean",
    "get_rng",
    "get_sampler_params",
    "get_seed",
    "get_seeds",
    "get_stancode",
    "get_stanmodel",
    "get_stream",
    "gqs",
    "grad_log_prob",
    "log_prob",
    "loo",
    "loo_moment_match",
    "lookup",
    "makeconf_path",
    "monitor",
    "nlist",
    "optimizing",
    "OUT",
    "plot",
    "quietgg",
    "read_rdump",
    "read_stan_csv",
    "Rhat",
    "RNG",
    "rstan_gg_options",
    "rstan_ggtheme_options",
    "rstan_options",
    "rstan.package.skeleton",
    "sampling",
    "sbc",
    "set_cppo",
    "sflist2stanfit",
    "show",
    "stan",
    "stan_ac",
    "stan_demo",
    "stan_dens",
    "stan_diag",
    "stan_ess",
    "stan_hist",
    "stan_mcse",
    "stan_model",
    "stan_par",
    "stan_plot",
    "stan_rdump",
    "stan_rhat",
    "stan_scat",
    "stan_trace",
    "stan_version",
    "stanc",
    "stanc_builder",
    "summary",
    "traceplot",
    "unconstrain_pars",
    "vb"
  ],
  "_help": [
    {
      "page": "rstan",
      "title": "RStan - the R interface to Stan",
      "topics": [
        "rstan-package",
        "rstan"
      ]
    },
    {
      "page": "stanfit2array-method",
      "title": "Create array, matrix, or data.frame objects from samples in a 'stanfit' object",
      "topics": [
        "as.array.stanfit",
        "as.data.frame.stanfit",
        "as.matrix.stanfit",
        "dim.stanfit",
        "dimnames.stanfit",
        "is.array.stanfit",
        "names.stanfit",
        "names<-.stanfit"
      ]
    },
    {
      "page": "As.mcmc.list",
      "title": "Create an mcmc.list from a stanfit object",
      "topics": [
        "As.mcmc.list"
      ]
    },
    {
      "page": "check_hmc_diagnostics",
      "title": "Check HMC diagnostics after sampling",
      "topics": [
        "check_divergences",
        "check_energy",
        "check_hmc_diagnostics",
        "check_treedepth",
        "get_bfmi",
        "get_divergent_iterations",
        "get_low_bfmi_chains",
        "get_max_treedepth_iterations",
        "get_num_divergent",
        "get_num_leapfrog_per_iteration",
        "get_num_max_treedepth"
      ]
    },
    {
      "page": "stan_plot_diagnostics",
      "title": "RStan Diagnostic plots",
      "topics": [
        "stan_diag",
        "stan_ess",
        "stan_mcse",
        "stan_par",
        "stan_rhat"
      ]
    },
    {
      "page": "expose_stan_functions",
      "title": "Expose user-defined Stan functions to R for testing and simulation",
      "topics": [
        "expose_stan_functions",
        "get_rng",
        "get_stream"
      ]
    },
    {
      "page": "stanfit-method-extract",
      "title": "Extract samples from a fitted Stan model",
      "topics": [
        "extract",
        "extract,stanfit-method"
      ]
    },
    {
      "page": "extract_sparse_parts",
      "title": "Extract the compressed representation of a sparse matrix",
      "topics": [
        "extract_sparse_parts"
      ]
    },
    {
      "page": "stanmodel-method-gqs",
      "title": "Draw samples of generated quantities from a Stan model",
      "topics": [
        "gqs",
        "gqs,stanmodel-method"
      ]
    },
    {
      "page": "stanfit-method-logprob",
      "title": "'log_prob' and 'grad_log_prob' functions",
      "topics": [
        "constrain_pars",
        "constrain_pars,stanfit-method",
        "get_num_upars",
        "get_num_upars,stanfit-method",
        "grad_log_prob",
        "grad_log_prob,stanfit-method",
        "log_prob",
        "log_prob,stanfit-method",
        "unconstrain_pars",
        "unconstrain_pars,stanfit-method"
      ]
    },
    {
      "page": "stanfit-method-loo-moment-match",
      "title": "Moment matching for efficient approximate leave-one-out cross-validation (LOO)",
      "topics": [
        "loo_moment_match",
        "loo_moment_match,stanfit-method",
        "loo_moment_match.stanfit"
      ]
    },
    {
      "page": "stanfit-method-loo",
      "title": "Approximate leave-one-out cross-validation",
      "topics": [
        "loo",
        "loo,stanfit-method",
        "loo.stanfit"
      ]
    },
    {
      "page": "lookup",
      "title": "Look up the Stan function that corresponds to a R function or name.",
      "topics": [
        "lookup"
      ]
    },
    {
      "page": "makeconf_path",
      "title": "Obtain the full path of file 'Makeconf'",
      "topics": [
        "makeconf_path"
      ]
    },
    {
      "page": "monitor",
      "title": "Compute summaries of MCMC draws and monitor convergence",
      "topics": [
        "monitor",
        "print.simsummary",
        "[.simsummary"
      ]
    },
    {
      "page": "nlist",
      "title": "Created named lists",
      "topics": [
        "nlist"
      ]
    },
    {
      "page": "stanmodel-method-optimizing",
      "title": "Obtain a point estimate by maximizing the joint posterior",
      "topics": [
        "optimizing",
        "optimizing,stanmodel-method"
      ]
    },
    {
      "page": "stanfit-method-pairs",
      "title": "Create a matrix of output plots from a 'stanfit' object",
      "topics": [
        "pairs.stanfit"
      ]
    },
    {
      "page": "stanfit-method-plot",
      "title": "Plots for stanfit objects",
      "topics": [
        "plot,stanfit,missing-method",
        "plot,stanfit-method"
      ]
    },
    {
      "page": "stan_plot",
      "title": "ggplot2 for RStan",
      "topics": [
        "quietgg",
        "stan_ac",
        "stan_dens",
        "stan_hist",
        "stan_plot",
        "stan_scat",
        "stan_trace"
      ]
    },
    {
      "page": "print.stanfit",
      "title": "Print a summary for a fitted model represented by a 'stanfit' object",
      "topics": [
        "print.stanfit"
      ]
    },
    {
      "page": "read_rdump",
      "title": "Read data in an R dump file to a list",
      "topics": [
        "read_rdump"
      ]
    },
    {
      "page": "stan_csv",
      "title": "Read CSV files of samples generated by (R)Stan into a 'stanfit' object",
      "topics": [
        "read_stan_csv"
      ]
    },
    {
      "page": "Rhat",
      "title": "Convergence and efficiency diagnostics for Markov Chains",
      "topics": [
        "ess_bulk",
        "ess_tail",
        "Rhat"
      ]
    },
    {
      "page": "stan_plot_options",
      "title": "Set default appearance options",
      "topics": [
        "rstan_ggtheme_options",
        "rstan_gg_options"
      ]
    },
    {
      "page": "rstan_options",
      "title": "Set and read options used in RStan",
      "topics": [
        "rstan_options"
      ]
    },
    {
      "page": "plotting-functions",
      "title": "RStan Plotting Functions",
      "topics": [
        "rstan-plotting-functions"
      ]
    },
    {
      "page": "rstan.package.skeleton",
      "title": "Create a Skeleton for a New Source Package with Stan Programs",
      "topics": [
        "rstan.package.skeleton"
      ]
    },
    {
      "page": "stanmodel-method-sampling",
      "title": "Draw samples from a Stan model",
      "topics": [
        "sampling",
        "sampling,stanmodel-method"
      ]
    },
    {
      "page": "sbc",
      "title": "Simulation Based Calibration (sbc)",
      "topics": [
        "plot.sbc",
        "print.sbc",
        "sbc"
      ]
    },
    {
      "page": "set_cppo",
      "title": "Defunct function to set the compiler optimization level",
      "topics": [
        "set_cppo"
      ]
    },
    {
      "page": "sflist2stanfit",
      "title": "Merge a list of stanfit objects into one",
      "topics": [
        "sflist2stanfit"
      ]
    },
    {
      "page": "stan",
      "title": "Fit a model with Stan",
      "topics": [
        "stan"
      ]
    },
    {
      "page": "stan_demo",
      "title": "Demonstrate examples included in Stan",
      "topics": [
        "stan_demo"
      ]
    },
    {
      "page": "stan_model",
      "title": "Construct a Stan model",
      "topics": [
        "stan_model"
      ]
    },
    {
      "page": "stan_rdump",
      "title": "Dump the data for a Stan model to R dump file in the limited format that Stan can read.",
      "topics": [
        "stan_rdump"
      ]
    },
    {
      "page": "stan_version",
      "title": "Obtain the version of Stan",
      "topics": [
        "stan_version"
      ]
    },
    {
      "page": "stanc",
      "title": "Translate Stan model specification to C++ code",
      "topics": [
        "stanc",
        "stanc_builder"
      ]
    },
    {
      "page": "stanfit-class",
      "title": "Class 'stanfit': fitted Stan model",
      "topics": [
        "get_adaptation_info",
        "get_adaptation_info,stanfit-method",
        "get_cppo_mode",
        "get_cppo_mode,stanfit-method",
        "get_elapsed_time",
        "get_elapsed_time,stanfit-method",
        "get_inits",
        "get_inits,stanfit-method",
        "get_logposterior",
        "get_logposterior,stanfit-method",
        "get_posterior_mean",
        "get_posterior_mean,stanfit-method",
        "get_sampler_params",
        "get_sampler_params,stanfit,logical-method",
        "get_seed",
        "get_seed,stanfit-method",
        "get_seeds",
        "get_seeds,stanfit-method",
        "get_stancode",
        "get_stancode,stanfit-method",
        "get_stanmodel",
        "get_stanmodel,stanfit-method",
        "show,stanfit-method",
        "stanfit",
        "stanfit-class"
      ]
    },
    {
      "page": "stanmodel-class",
      "title": "Class representing model compiled from C++",
      "topics": [
        "get_cppcode",
        "get_cppcode,stanmodel-method",
        "get_cxxflags",
        "get_cxxflags,stanmodel-method",
        "get_stancode,stanmodel-method",
        "show,stanmodel-method",
        "stanmodel-class"
      ]
    },
    {
      "page": "stanfit-method-summary",
      "title": "Summary method for stanfit objects",
      "topics": [
        "summary,stanfit-method"
      ]
    },
    {
      "page": "stanfit-method-traceplot",
      "title": "Markov chain traceplots",
      "topics": [
        "traceplot",
        "traceplot,stanfit-method"
      ]
    },
    {
      "page": "stanmodel-method-vb",
      "title": "Run Stan's variational algorithm for approximate posterior sampling",
      "topics": [
        "vb",
        "vb,stanmodel-method"
      ]
    }
  ],
  "_pkglogo": "https://github.com/stan-dev/rstan/raw/develop/rstan/rstan/man/figures/logo.svg",
  "_readme": "https://github.com/stan-dev/rstan/raw/develop/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "external.Rmd",
      "filename": "external.html",
      "title": "Interfacing with External C++ Code",
      "author": "Stan Development Team",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2016-12-13 21:12:22",
      "modified": "2023-08-31 20:54:24",
      "commits": 13
    },
    {
      "source": "rstan.Rmd",
      "filename": "rstan.html",
      "title": "RStan: the R interface to Stan",
      "author": "Stan Development Team",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Prerequisites",
        "Typical Workflow",
        "Example",
        "Write a Stan Program",
        "Preparing the Data",
        "Sample from the Posterior Distribution",
        "Arguments to the stan Function",
        "Data Preprocessing and Passing",
        "Methods for the \"stanfit\" Class",
        "Sampling Difficulties",
        "Additional Topics",
        "User-defined Stan Functions",
        "The Log-Posterior (function and gradient)",
        "Optimization in Stan",
        "Model Compilation",
        "Running Multiple Chains in Parallel",
        "See Also"
      ],
      "created": "2016-06-04 21:46:56",
      "modified": "2025-12-05 00:44:54",
      "commits": 17
    },
    {
      "source": "SBC.Rmd",
      "filename": "SBC.html",
      "title": "Simulation Based Calibration",
      "author": "Stan Development Team",
      "engine": "knitr::rmarkdown",
      "headings": [
        "References"
      ],
      "created": "2019-04-18 17:43:27",
      "modified": "2020-06-26 04:50:15",
      "commits": 5
    },
    {
      "source": "stanfit-objects.Rmd",
      "filename": "stanfit-objects.html",
      "title": "Accessing the contents of a stanfit object",
      "author": "Stan Development Team",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Posterior draws",
        "extract()",
        "as.matrix(), as.data.frame(), as.array()",
        "Posterior summary statistics and convergence diagnostics",
        "Sampler diagnostics",
        "Model code",
        "Initial values",
        "(P)RNG seed",
        "Warmup and sampling times"
      ],
      "created": "2016-06-04 21:46:56",
      "modified": "2020-06-26 04:50:15",
      "commits": 4
    }
  ],
  "_score": 21.19061101502675,
  "_indexed": true,
  "_nocasepkg": "rstan",
  "_universes": [
    "stan-dev",
    "bgoodri"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.39.0.9000",
      "date": "2026-07-21T16:24:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "45fd91f945203431810bfa889d891cf7ec724ff1",
      "fileid": "https://r2.ropensci.org/61c9c2dbe0a442d3a2066e209f18488a700ba103b7f1a61f173638f65b10403a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29847559473"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.39.0.9000",
      "date": "2026-07-21T16:25:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "45fd91f945203431810bfa889d891cf7ec724ff1",
      "fileid": "https://r2.ropensci.org/f790589bbd36f95cc6071a06ded43e3dbdfc8195b5128398dc4021d0ecb15dd0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29847559473"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.39.0.9000",
      "date": "2026-07-21T16:24:32.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "45fd91f945203431810bfa889d891cf7ec724ff1",
      "fileid": "https://r2.ropensci.org/75f52e7e542ceaa3031d4117be643c1b4a805bd3c98be7acc842c7b9374e2201",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29847559473"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.39.0.9000",
      "date": "2026-07-21T16:25:22.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "45fd91f945203431810bfa889d891cf7ec724ff1",
      "fileid": "https://r2.ropensci.org/26981098edb38614c8bf2857b69e08746d0c7b141fb700ac2755024e98821c0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29847559473"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.39.0.9000",
      "date": "2026-07-21T16:26:07.000Z",
      "arch": "aarch64",
      "commit": "45fd91f945203431810bfa889d891cf7ec724ff1",
      "fileid": "https://r2.ropensci.org/222cb786be827643a464c8fa873295f07ad9c9bb2077a70d93725ec252d20792",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29847559473"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.39.0.9000",
      "date": "2026-07-21T16:26:37.000Z",
      "arch": "x86_64",
      "commit": "45fd91f945203431810bfa889d891cf7ec724ff1",
      "fileid": "https://r2.ropensci.org/9fa8cbe0fb7ae992b9936ac280919fb41905329f5e6971ad3615dd6b1dbffd17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29847559473"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.39.0.9000",
      "date": "2026-07-21T16:26:32.000Z",
      "arch": "aarch64",
      "commit": "45fd91f945203431810bfa889d891cf7ec724ff1",
      "fileid": "https://r2.ropensci.org/cfc710c1942808d2e796ab18df3975e02ca5c6e84302fe96e78085554a98f9f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29847559473"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.39.0.9000",
      "date": "2026-07-21T16:25:29.000Z",
      "arch": "x86_64",
      "commit": "45fd91f945203431810bfa889d891cf7ec724ff1",
      "fileid": "https://r2.ropensci.org/ee123d05ac97e42e7728fab70b70c98fa1e303412e1ccf2961ced066a36f0833",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29847559473"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.39.0.9000",
      "date": "2026-07-21T16:23:11.000Z",
      "arch": "x86_64",
      "commit": "45fd91f945203431810bfa889d891cf7ec724ff1",
      "fileid": "https://r2.ropensci.org/43fa65145064bf8a7e125ecd4c2fc1351c2f841305c4823f8a6b48cf6c71c9a4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29847559473"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.39.0.9000",
      "date": "2026-07-21T16:23:30.000Z",
      "arch": "x86_64",
      "commit": "45fd91f945203431810bfa889d891cf7ec724ff1",
      "fileid": "https://r2.ropensci.org/f249d5aea7394ab58952235240cca6ecabbf598cd09885b82f90503cf0016961",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29847559473"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.39.0.9000",
      "date": "2026-07-21T16:23:24.000Z",
      "arch": "x86_64",
      "commit": "45fd91f945203431810bfa889d891cf7ec724ff1",
      "fileid": "https://r2.ropensci.org/1ac1485f6fafdd06b8aa72a1030bf8a0aaa905171d1e6dfcc490856a69a957da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/29847559473"
    }
  ]
}