{
  "_id": "6a202ed5cd65a98ecbd0da44",
  "Package": "rstan",
  "Type": "Package",
  "Title": "R Interface to Stan",
  "Version": "2.36.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/pak/sysreqs": "make",
  "Repository": "https://stan-dev.r-universe.dev",
  "Date/Publication": "2026-06-03 11:33:17 UTC",
  "RemoteUrl": "https://github.com/stan-dev/rstan",
  "RemoteRef": "develop",
  "RemoteSha": "8354ad8afccfe8bf746b00985aae73cdee103da8",
  "RemoteSubdir": "rstan/rstan",
  "Packaged": {
    "Date": "2026-06-03 13:25:54 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>",
  "MD5sum": "792e29af42e8668b6b74de66813846c7",
  "_user": "stan-dev",
  "_type": "src",
  "_file": "rstan_2.36.0.9000.tar.gz",
  "_fileid": "0a9c18dae63a5ac21c570555742a65927da6e8d3918b486d1ea2e0df9ec7b05c",
  "_filesize": 2067958,
  "_sha256": "0a9c18dae63a5ac21c570555742a65927da6e8d3918b486d1ea2e0df9ec7b05c",
  "_created": "2026-06-03T13:25:54.000Z",
  "_published": "2026-06-03T13:40:37.393Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79305264409,
      "time": 256,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7386016763"
    },
    {
      "job": 79305264493,
      "time": 296,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7386031910"
    },
    {
      "job": 79305264525,
      "time": 285,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386028649"
    },
    {
      "job": 79305264301,
      "time": 291,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386029693"
    },
    {
      "job": 79305264296,
      "time": 183,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7386142492"
    },
    {
      "job": 79305264330,
      "time": 525,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7386202591"
    },
    {
      "job": 79305264221,
      "time": 242,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386205224"
    },
    {
      "job": 79305264356,
      "time": 518,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386201069"
    },
    {
      "job": 79303215320,
      "time": 605,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7385914093"
    },
    {
      "job": 79305264184,
      "time": 172,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79305264241,
      "time": 292,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7386029971"
    },
    {
      "job": 79305264294,
      "time": 269,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7386021203"
    },
    {
      "job": 79305264280,
      "time": 407,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386078058"
    }
  ],
  "_buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887314022",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/stan-dev/rstan",
  "_commit": {
    "id": "8354ad8afccfe8bf746b00985aae73cdee103da8",
    "author": "Jonah Gabry <jgabry@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #1184 from stan-dev/add-ai-policy\n\nAdd AI Contribution Policy reference to README",
    "time": 1780486397
  },
  "_maintainer": {
    "name": "Ben Goodrich",
    "email": "benjamin.goodrich@columbia.edu",
    "login": "bgoodri",
    "description": "",
    "uuid": 3386282
  },
  "_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": 291,
  "_updates": [
    {
      "week": "2025-23",
      "n": 9
    },
    {
      "week": "2025-24",
      "n": 4
    },
    {
      "week": "2025-25",
      "n": 1
    },
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2025-27",
      "n": 3
    },
    {
      "week": "2025-28",
      "n": 2
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "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
    }
  ],
  "_tags": [],
  "_topics": [
    "bayesian-data-analysis",
    "bayesian-inference",
    "bayesian-statistics",
    "mcmc",
    "stan",
    "cpp"
  ],
  "_stars": 1078,
  "_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": "jgabry",
      "count": 174,
      "uuid": 7796803
    },
    {
      "user": "stan-buildbot",
      "count": 165,
      "uuid": 3512237
    },
    {
      "user": "andrjohns",
      "count": 58,
      "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"
  },
  "_downloads": {
    "count": 736760,
    "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": 17920,
  "_rbuild": "4.6.0",
  "_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",
    "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": "14.2.0-4ubuntu2~24.04.1",
      "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": 20.84495969523179,
  "_indexed": true,
  "_nocasepkg": "rstan",
  "_universes": [
    "stan-dev",
    "bgoodri"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.36.0.9000",
      "date": "2026-06-03T13:30:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8354ad8afccfe8bf746b00985aae73cdee103da8",
      "fileid": "b017cbe5f32c63427577fc45d193a6478c34bb04f91fb03fb54fb9f7fa8375aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887314022"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.36.0.9000",
      "date": "2026-06-03T13:30:28.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8354ad8afccfe8bf746b00985aae73cdee103da8",
      "fileid": "6dcd58356757bca5583cbb1c76347fd57fcc34eab8fcaeef45e1decc7b52547c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887314022"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.36.0.9000",
      "date": "2026-06-03T13:30:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8354ad8afccfe8bf746b00985aae73cdee103da8",
      "fileid": "1f63ecc42405ea6c59a76ac1e116e2943480b6a7332bfc3536b5d34b57d00203",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887314022"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.36.0.9000",
      "date": "2026-06-03T13:30:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8354ad8afccfe8bf746b00985aae73cdee103da8",
      "fileid": "d692ed660168023c5d3085cffe96af7eb006e86217f78ff8e7d7350dbe10f61c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887314022"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.36.0.9000",
      "date": "2026-06-03T13:35:22.000Z",
      "arch": "aarch64",
      "commit": "8354ad8afccfe8bf746b00985aae73cdee103da8",
      "fileid": "0735e048e668c673ed495b15dec63819a2e8c64089c3c61f14bf97d0b9a1cb1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887314022"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.36.0.9000",
      "date": "2026-06-03T13:34:45.000Z",
      "arch": "x86_64",
      "commit": "8354ad8afccfe8bf746b00985aae73cdee103da8",
      "fileid": "bea138cc8bedbbb0faef2b8ab675c1e60adff55b64b29a9a20c4baad3e012be0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887314022"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.36.0.9000",
      "date": "2026-06-03T13:37:14.000Z",
      "arch": "aarch64",
      "commit": "8354ad8afccfe8bf746b00985aae73cdee103da8",
      "fileid": "907e0debf270c1078790a52c23d6a3d0a17caddfe51fe4177204e316b6a1d514",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887314022"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.36.0.9000",
      "date": "2026-06-03T13:34:46.000Z",
      "arch": "x86_64",
      "commit": "8354ad8afccfe8bf746b00985aae73cdee103da8",
      "fileid": "eed9d057b96245f1fcabfe67bf59424fd5ef59cdf9a222b5e9eb222da0d96231",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887314022"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.36.0.9000",
      "date": "2026-06-03T13:28:59.000Z",
      "arch": "x86_64",
      "commit": "8354ad8afccfe8bf746b00985aae73cdee103da8",
      "fileid": "a3d897098b285df9b7f3d335f2550d306343b9b4004eab1310c61c9512b95a54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887314022"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.36.0.9000",
      "date": "2026-06-03T13:29:18.000Z",
      "arch": "x86_64",
      "commit": "8354ad8afccfe8bf746b00985aae73cdee103da8",
      "fileid": "a83fd94e3109b4bbcd8205acec9b7cd334716c62004ac24745332e46aeb1108d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887314022"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.36.0.9000",
      "date": "2026-06-03T13:29:15.000Z",
      "arch": "x86_64",
      "commit": "8354ad8afccfe8bf746b00985aae73cdee103da8",
      "fileid": "1d9b10715fc558aa85b6d212d70fc5d74beb7680d230042cf94078f1384f9d23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stan-dev/actions/runs/26887314022"
    }
  ]
}