{
  "_id": "6a10b24cacfb0bcc41cc425f",
  "Package": "SBC",
  "Title": "Simulation Based Calibration for Bayesian models",
  "Version": "0.5.0.0",
  "Authors@R": "c(\nperson(given = \"Martin\",\nfamily = \"Modrák\",\nrole = c(\"aut\"),\nemail = \"martin.modrak@biomed.cas.cz\",\ncomment = c(ORCID= \"0000-0002-8886-7797\")),\nperson(given = \"Shinyoung\",\nfamily = \"Kim\",\nrole = c(\"aut\"),\nemail = \"tttllshin@gmail.com\",\ncomment = c()),\nperson(given = \"Angie.H\",\nfamily = \"Moon\",\nrole = c(\"aut\", \"cre\"),\nemail = \"amoon@mit.edu\",\ncomment = c()),\nperson(given = \"Teemu\",\nfamily = \"Säilynoja\",\nrole = \"aut\"),\nperson(given = \"Luna\",\nfamily = \"Fazio\",\nrole = \"ctb\"),\nperson(given = \"Timo\",\nfamily = \"Stenz\",\nrole = \"ctb\")\n)",
  "Description": "SBC helps perform Simulation Based Calibration on Bayesian\nmodels. SBC lets you check for bugs in your model code and/or\nalgorithm that fits the model. SBC focuses on models built with\n'Stan' <https://mc-stan.org>, but can support other modelling\nlanguages as well.",
  "License": "MIT + file LICENSE",
  "URL": "https://hyunjimoon.github.io/SBC/,\nhttps://github.com/hyunjimoon/SBC/",
  "BugReports": "https://github.com/hyunjimoon/SBC/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Language": "en-US",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://r-multiverse.r-universe.dev",
  "Date/Publication": "2026-03-10 12:13:35 UTC",
  "RemoteUrl": "https://github.com/hyunjimoon/SBC",
  "RemoteRef": "v0.5.0",
  "RemoteSha": "e40a320c335460851618f7019baf79d39bbedf29",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 19:39:59 UTC",
    "User": "root"
  },
  "Author": "Martin Modrák [aut] (ORCID: <https://orcid.org/0000-0002-8886-7797>),\nShinyoung Kim [aut],\nAngie.H Moon [aut, cre],\nTeemu Säilynoja [aut],\nLuna Fazio [ctb],\nTimo Stenz [ctb]",
  "Maintainer": "Angie.H Moon <amoon@mit.edu>",
  "MD5sum": "98e91c6f3b48ff4e214cccc24079b32d",
  "_user": "r-multiverse",
  "_type": "src",
  "_file": "SBC_0.5.0.0.tar.gz",
  "_fileid": "bf666e825b0f160c53c92382566074394444a044f7f6f773b3145c2f08f8337e",
  "_filesize": 442105,
  "_sha256": "bf666e825b0f160c53c92382566074394444a044f7f6f773b3145c2f08f8337e",
  "_created": "2026-05-22T19:39:59.000Z",
  "_published": "2026-05-22T19:45:16.680Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77450560893,
      "time": 208,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7168965328"
    },
    {
      "job": 77450560888,
      "time": 226,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7168970087"
    },
    {
      "job": 77450560942,
      "time": 95,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7168986046"
    },
    {
      "job": 77450560877,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7168982541"
    },
    {
      "job": 77442346662,
      "time": 3254,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7168904089"
    },
    {
      "job": 77450560876,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168947810"
    },
    {
      "job": 77450560882,
      "time": 133,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7168943644"
    },
    {
      "job": 77450560912,
      "time": 146,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7168948478"
    },
    {
      "job": 77450560971,
      "time": 123,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7168941122"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/26218521749",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hyunjimoon/SBC",
  "_commit": {
    "id": "e40a320c335460851618f7019baf79d39bbedf29",
    "author": "martinmodrak <modrak.mar@gmail.com>",
    "committer": "martinmodrak <modrak.mar@gmail.com>",
    "message": "Tag 0.5.0\n",
    "time": 1773144815
  },
  "_maintainer": {
    "name": "Angie.H Moon",
    "email": "amoon@mit.edu",
    "login": "hyunjimoon",
    "description": "",
    "uuid": 30194633
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "abind",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "cmdstanr",
      "version": ">= 0.4.0",
      "role": "Suggests"
    },
    {
      "package": "rstan",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "brms",
      "role": "Suggests"
    },
    {
      "package": "MCMCpack",
      "role": "Suggests"
    },
    {
      "package": "medicaldata",
      "role": "Suggests"
    },
    {
      "package": "formula.tools",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "bridgesampling",
      "role": "Suggests"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "reliabilitydiag",
      "role": "Suggests"
    },
    {
      "package": "progressr",
      "role": "Suggests"
    }
  ],
  "_owner": "hyunjimoon",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 2
    },
    {
      "week": "2025-32",
      "n": 11
    },
    {
      "week": "2025-36",
      "n": 2
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 4
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.5.0",
      "date": "2026-03-10"
    }
  ],
  "_topics": [
    "diagnostics",
    "simulation-based-inference"
  ],
  "_stars": 62,
  "_contributors": [
    {
      "user": "martinmodrak",
      "count": 327,
      "uuid": 9483603
    },
    {
      "user": "dashadower",
      "count": 47,
      "uuid": 10173396
    },
    {
      "user": "hyunjimoon",
      "count": 26,
      "uuid": 30194633
    },
    {
      "user": "lunafazio",
      "count": 12,
      "uuid": 26548493
    },
    {
      "user": "teemusailynoja",
      "count": 5,
      "uuid": 33978952
    },
    {
      "user": "timostenz",
      "count": 5,
      "uuid": 76792140
    }
  ],
  "_userbio": {
    "uuid": 161461790,
    "type": "organization",
    "name": "R-multiverse",
    "description": "A community-curated collection of R package releases, powered by R-universe"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SBC"
  },
  "_devurl": "https://github.com/hyunjimoon/sbc",
  "_pkgdown": "https://hyunjimoon.github.io/SBC/",
  "_searchresults": 130,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SBC.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "attribute_present",
    "attribute_present_stats",
    "binary_calibration_from_bp",
    "binary_miscalibration",
    "binary_probabilities_from_stats",
    "binary_var_attribute",
    "bind_datasets",
    "bind_derived_quantities",
    "bind_generated_quantities",
    "bind_results",
    "brier_resampling_p",
    "brier_resampling_test",
    "cached_fit_filename",
    "calculate_prior_sd",
    "calculate_ranks_draws_matrix",
    "calculate_sds_draws_matrix",
    "check_all_SBC_diagnostics",
    "combine_all_variables",
    "combine_array_elements",
    "combine_var_attributes",
    "compute_dquants",
    "compute_gen_quants",
    "compute_results",
    "compute_SBC",
    "count_diagnostic",
    "data_for_ecdf_plots",
    "default_chunk_size",
    "default_cores_per_fit",
    "default_diagnostic",
    "default_diagnostics_types",
    "derived_quantities",
    "diagnostic_types",
    "dquants_var_attributes",
    "draws_rvars_to_standata",
    "draws_rvars_to_standata_single",
    "empirical_coverage",
    "extract_attribute_arguments_stats",
    "gaffke_ci",
    "gaffke_p",
    "gaffke_test",
    "generate_datasets",
    "generated_quantities",
    "get_all_diagnostic_messages",
    "get_diagnostic_messages_single",
    "get_stats_for_submodel",
    "hidden_var_attribute",
    "inf_valid_var_attribute",
    "logical_diagnostic",
    "miscalibration_resampling_p",
    "miscalibration_resampling_test",
    "na_valid_var_attribute",
    "numeric_diagnostic",
    "plot_binary_calibration",
    "plot_binary_calibration_diff",
    "plot_contraction",
    "plot_coverage",
    "plot_coverage_diff",
    "plot_ecdf",
    "plot_ecdf_diff",
    "plot_rank_hist",
    "plot_sim_estimated",
    "possibly_constant_var_attribute",
    "posterior_cdf_from_model_probs",
    "recompute_SBC_statistics",
    "recompute_statistics",
    "remove_attribute_from_stats",
    "SBC_backend_bridgesampling",
    "SBC_backend_brms",
    "SBC_backend_brms_from_generator",
    "SBC_backend_cached",
    "SBC_backend_cmdstan_sample",
    "SBC_backend_cmdstan_variational",
    "SBC_backend_default_thin_ranks",
    "SBC_backend_extractBF_comparison",
    "SBC_backend_function",
    "SBC_backend_hash_for_cache",
    "SBC_backend_iid_draws",
    "SBC_backend_lmBF",
    "SBC_backend_mock",
    "SBC_backend_mock_rng",
    "SBC_backend_postprocess_cached_fit",
    "SBC_backend_preprocess_fit_for_cache",
    "SBC_backend_rjags",
    "SBC_backend_rstan_optimizing",
    "SBC_backend_rstan_sample",
    "SBC_datasets",
    "SBC_datasets_for_bf",
    "SBC_example_backend",
    "SBC_example_generator",
    "SBC_example_results",
    "SBC_fit",
    "SBC_fit_specific_dquants",
    "SBC_fit_to_BFBayesFactor",
    "SBC_fit_to_bridge_sampler",
    "SBC_fit_to_diagnostics",
    "SBC_fit_to_draws_matrix",
    "SBC_generator_brms",
    "SBC_generator_custom",
    "SBC_generator_function",
    "SBC_posterior_cdf",
    "SBC_print_example_model",
    "SBC_results",
    "SBC_results_diagnostic_messages",
    "SBC_results_diagnostics",
    "SBC_statistics_from_single_fit",
    "skip_diagnostic",
    "split_SBC_results_for_bf",
    "submodel_diagnostic",
    "submodel_var_attribute",
    "top_model_dquants",
    "validate_derived_quantities",
    "validate_generated_quantities",
    "validate_SBC_datasets",
    "validate_SBC_results",
    "validate_var_attributes",
    "var_attributes"
  ],
  "_help": [
    {
      "page": "sub-.SBC_datasets",
      "title": "Subset an 'SBC_datasets' object.",
      "topics": [
        "[.SBC_datasets"
      ]
    },
    {
      "page": "sub-.SBC_results",
      "title": "Subset the results.",
      "topics": [
        "[.SBC_results"
      ]
    },
    {
      "page": "attribute_present",
      "title": "Get attribute presence for a vector of variable names.",
      "topics": [
        "attribute_present"
      ]
    },
    {
      "page": "attribute_present_stats",
      "title": "Check an attribute in the $stats element of the results for presence of an attribute.",
      "topics": [
        "attribute_present_stats"
      ]
    },
    {
      "page": "binary_calibration",
      "title": "Binary prediction calibration computation and visualisation.",
      "topics": [
        "binary_calibration_from_bp",
        "plot_binary_calibration",
        "plot_binary_calibration.data.frame",
        "plot_binary_calibration.SBC_results",
        "plot_binary_calibration_diff",
        "plot_binary_calibration_diff.data.frame",
        "plot_binary_calibration_diff.SBC_results"
      ]
    },
    {
      "page": "binary_probabilities_from_stats",
      "title": "Extract binary probabilities from SBC stats.",
      "topics": [
        "binary_probabilities_from_stats"
      ]
    },
    {
      "page": "bind_datasets",
      "title": "Combine multiple datasets together.",
      "topics": [
        "bind_datasets"
      ]
    },
    {
      "page": "bind_derived_quantities",
      "title": "Combine two lists of derived quantities",
      "topics": [
        "bind_derived_quantities"
      ]
    },
    {
      "page": "bind_globals",
      "title": "Combine two sets globals for use in derived quantities or backend",
      "topics": [
        "bind_globals"
      ]
    },
    {
      "page": "bind_results",
      "title": "Combine multiple SBC results together.",
      "topics": [
        "bind_results"
      ]
    },
    {
      "page": "binary-calibration-tests",
      "title": "Binary calibration tests",
      "topics": [
        "binary_miscalibration",
        "brier_resampling_p",
        "brier_resampling_test",
        "miscalibration_resampling_p",
        "miscalibration_resampling_test"
      ]
    },
    {
      "page": "cached_fit_filename",
      "title": "Provide a file where a cached result of a fit will be/was stored.",
      "topics": [
        "cached_fit_filename"
      ]
    },
    {
      "page": "calculate_prior_sd",
      "title": "Calculate prior standard deviation of a dataset",
      "topics": [
        "calculate_prior_sd"
      ]
    },
    {
      "page": "calculate_ranks_draws_matrix",
      "title": "Calculate ranks given variable values within a posterior distribution.",
      "topics": [
        "calculate_ranks_draws_matrix"
      ]
    },
    {
      "page": "check_all_SBC_diagnostics",
      "title": "Check diagnostics for an SBC results object.",
      "topics": [
        "check_all_SBC_diagnostics"
      ]
    },
    {
      "page": "combine-functions",
      "title": "Helper functions to be passed to ECDF-plots to combine variables in a single panel.",
      "topics": [
        "combine_all_variables",
        "combine_array_elements"
      ]
    },
    {
      "page": "combine_args",
      "title": "Combine two named lists and overwrite elements with the same name using the value from args2",
      "topics": [
        "combine_args"
      ]
    },
    {
      "page": "combine_var_attributes",
      "title": "Combine multiple sets of variable attributes.",
      "topics": [
        "combine_var_attributes"
      ]
    },
    {
      "page": "compute_dquants",
      "title": "Compute derived quantities based on given data and posterior draws.",
      "topics": [
        "compute_dquants"
      ]
    },
    {
      "page": "compute_SBC",
      "title": "Fit datasets and evaluate diagnostics and SBC metrics.",
      "topics": [
        "compute_SBC"
      ]
    },
    {
      "page": "data_for_ecdf_plots",
      "title": "Maybe not export in the end? Useful for debugging",
      "topics": [
        "data_for_ecdf_plots"
      ]
    },
    {
      "page": "default_chunk_size",
      "title": "Determines the default chunk size.",
      "topics": [
        "default_chunk_size"
      ]
    },
    {
      "page": "default_cores_per_fit",
      "title": "Determines the default cores per single fit.",
      "topics": [
        "default_cores_per_fit"
      ]
    },
    {
      "page": "derived_quantities",
      "title": "Create a definition of derived quantities evaluated in R.",
      "topics": [
        "derived_quantities"
      ]
    },
    {
      "page": "dquants_var_attributes",
      "title": "Get the 'var_attributes()' object associated with the derived quantities",
      "topics": [
        "dquants_var_attributes"
      ]
    },
    {
      "page": "empirical_coverage",
      "title": "Compute observed coverage of posterior credible intervals.",
      "topics": [
        "empirical_coverage"
      ]
    },
    {
      "page": "extract_attribute_arguments_stats",
      "title": "Extract arguments of a given attribute from the $stats element of the results",
      "topics": [
        "extract_attribute_arguments_stats"
      ]
    },
    {
      "page": "gaffke_test",
      "title": "Non-parametric test for the mean of a bounded variable.",
      "topics": [
        "gaffke_ci",
        "gaffke_p",
        "gaffke_test"
      ]
    },
    {
      "page": "generate_datasets",
      "title": "Generate datasets.",
      "topics": [
        "generate_datasets"
      ]
    },
    {
      "page": "get_stats_for_submodel",
      "title": "Extract stats for a submodel from a Bayes factor results",
      "topics": [
        "get_stats_for_submodel"
      ]
    },
    {
      "page": "guess_rank_hist_bins",
      "title": "Guess the number of bins for 'plot_rank_hist()'.",
      "topics": [
        "guess_rank_hist_bins"
      ]
    },
    {
      "page": "plot_contraction",
      "title": "Prior/posterior contraction plot.",
      "topics": [
        "plot_contraction",
        "plot_contraction.data.frame"
      ]
    },
    {
      "page": "plot_coverage",
      "title": "Plot the observed coverage and its uncertainty.",
      "topics": [
        "plot_coverage",
        "plot_coverage_diff"
      ]
    },
    {
      "page": "ECDF-plots",
      "title": "Plot the ECDF-based plots.",
      "topics": [
        "plot_ecdf",
        "plot_ecdf_diff"
      ]
    },
    {
      "page": "plot_rank_hist",
      "title": "Plot rank histogram of an SBC results.",
      "topics": [
        "plot_rank_hist",
        "plot_rank_hist.data.frame"
      ]
    },
    {
      "page": "plot_sim_estimated",
      "title": "Plot the simulated \"true\" values versus posterior estimates",
      "topics": [
        "plot_sim_estimated",
        "plot_sim_estimated.data.frame"
      ]
    },
    {
      "page": "rbind.SBC_bridgesampling_diagnostics",
      "title": "Custom rbind implementation maintainig information about submodels",
      "topics": [
        "rbind.SBC_bridgesampling_diagnostics"
      ]
    },
    {
      "page": "recompute_SBC_statistics",
      "title": "Recompute SBC statistics without refitting models.",
      "topics": [
        "recompute_SBC_statistics"
      ]
    },
    {
      "page": "remove_attribute_from_stats",
      "title": "Remove an attribute from a 'data.frame' column with attributes.",
      "topics": [
        "remove_attribute_from_stats"
      ]
    },
    {
      "page": "SBC_backend_bridgesampling",
      "title": "Backend using bridgesampling to do Bayes factor calculation (and Bayesian Model Averaging) over two candidate models.",
      "topics": [
        "SBC_backend_bridgesampling"
      ]
    },
    {
      "page": "SBC_backend_brms",
      "title": "Build a backend based on the 'brms' package.",
      "topics": [
        "SBC_backend_brms"
      ]
    },
    {
      "page": "SBC_backend_brms_from_generator",
      "title": "Build a brms backend, reusing the compiled model from a previously created 'SBC_generator_brms' object.",
      "topics": [
        "SBC_backend_brms_from_generator"
      ]
    },
    {
      "page": "SBC_backend_cached",
      "title": "A backend that wraps another backend with a caching scheme.",
      "topics": [
        "SBC_backend_cached"
      ]
    },
    {
      "page": "SBC_backend_cmdstan_sample",
      "title": "Backend based on sampling via 'cmdstanr'.",
      "topics": [
        "SBC_backend_cmdstan_sample"
      ]
    },
    {
      "page": "SBC_backend_cmdstan_variational",
      "title": "Backend based on variational approximation via 'cmdstanr'.",
      "topics": [
        "SBC_backend_cmdstan_variational"
      ]
    },
    {
      "page": "SBC_backend_default_thin_ranks",
      "title": "S3 generic to get backend-specific default thinning for rank computation.",
      "topics": [
        "SBC_backend_default_thin_ranks",
        "SBC_backend_default_thin_ranks.default"
      ]
    },
    {
      "page": "SBC_backend_extractBF_comparison",
      "title": "A backend for Bayes factor workflow with BayesFactor::extractBF.",
      "topics": [
        "SBC_backend_extractBF_comparison"
      ]
    },
    {
      "page": "SBC_backend_function",
      "title": "A backend that just calls a function.",
      "topics": [
        "SBC_backend_function"
      ]
    },
    {
      "page": "SBC_backend_hash_for_cache",
      "title": "Get hash used to identify cached results.",
      "topics": [
        "SBC_backend_hash_for_cache"
      ]
    },
    {
      "page": "SBC_backend_iid_draws",
      "title": "S3 generic to let backends signal that they produced independent draws.",
      "topics": [
        "SBC_backend_iid_draws",
        "SBC_backend_iid_draws.default"
      ]
    },
    {
      "page": "SBC_backend_lmBF",
      "title": "A backend using 'BayesFactor::lmBF()'",
      "topics": [
        "SBC_backend_lmBF"
      ]
    },
    {
      "page": "SBC_backend_mock",
      "title": "A mock backend.",
      "topics": [
        "SBC_backend_mock"
      ]
    },
    {
      "page": "SBC_backend_postprocess_cached_fit",
      "title": "Allows the backend to do any pre-/post- processing on a fit stored to / loaded from cache.",
      "topics": [
        "SBC_backend_postprocess_cached_fit",
        "SBC_backend_preprocess_fit_for_cache"
      ]
    },
    {
      "page": "SBC_backend_rjags",
      "title": "Create a JAGS backend using 'rjags'",
      "topics": [
        "SBC_backend_rjags"
      ]
    },
    {
      "page": "SBC_backend_rstan_optimizing",
      "title": "SBC backend using the 'optimizing' method from 'rstan'.",
      "topics": [
        "SBC_backend_rstan_optimizing"
      ]
    },
    {
      "page": "SBC_backend_rstan_sample",
      "title": "SBC backend using the 'sampling' method from 'rstan'.",
      "topics": [
        "SBC_backend_rstan_sample"
      ]
    },
    {
      "page": "SBC_datasets",
      "title": "Create new 'SBC_datasets' object.",
      "topics": [
        "SBC_datasets"
      ]
    },
    {
      "page": "SBC_datasets_for_bf",
      "title": "Combine two or more datasets to check Bayes factor computation.",
      "topics": [
        "SBC_datasets_for_bf"
      ]
    },
    {
      "page": "SBC_example_backend",
      "title": "Construct a backend to be used in the examples.",
      "topics": [
        "SBC_example_backend"
      ]
    },
    {
      "page": "SBC_example_generator",
      "title": "Construct a generator used in the examples.",
      "topics": [
        "SBC_example_generator"
      ]
    },
    {
      "page": "SBC_example_results",
      "title": "Combine an example backend with an example generator to provide full results that can be used to test other functions in the package.",
      "topics": [
        "SBC_example_results"
      ]
    },
    {
      "page": "SBC_fit",
      "title": "S3 generic using backend to fit a model to data.",
      "topics": [
        "SBC_fit"
      ]
    },
    {
      "page": "SBC_fit_to_BFBayesFactor",
      "title": "A fits need to implement this S3 generic to be useful for the 'SBC_backend_extractBF_comparison()' backend.",
      "topics": [
        "SBC_fit_to_BFBayesFactor"
      ]
    },
    {
      "page": "SBC_fit_to_bridge_sampler",
      "title": "Convert a fit for a given backend into a bridge sampler object.",
      "topics": [
        "SBC_fit_to_bridge_sampler"
      ]
    },
    {
      "page": "SBC_fit_to_diagnostics",
      "title": "S3 generic to get backend-specific diagnostics.",
      "topics": [
        "SBC_fit_to_diagnostics"
      ]
    },
    {
      "page": "SBC_fit_to_draws_matrix",
      "title": "S3 generic converting a fitted model to a 'draws_matrix' object.",
      "topics": [
        "SBC_fit_to_draws_matrix",
        "SBC_fit_to_draws_matrix.default"
      ]
    },
    {
      "page": "SBC_generator_brms",
      "title": "Create a brms generator.",
      "topics": [
        "SBC_generator_brms"
      ]
    },
    {
      "page": "SBC_generator_custom",
      "title": "Wrap a function the creates a complete dataset.",
      "topics": [
        "SBC_generator_custom"
      ]
    },
    {
      "page": "SBC_generator_function",
      "title": "Generate datasets via a function that creates a single dataset.",
      "topics": [
        "SBC_generator_function"
      ]
    },
    {
      "page": "SBC_posterior_cdf",
      "title": "Use a fitted model to obtain a posterior CDF at a given point.",
      "topics": [
        "SBC_posterior_cdf",
        "SBC_posterior_cdf.default"
      ]
    },
    {
      "page": "SBC_print_example_model",
      "title": "Print the Stan code of a model used in the examples.",
      "topics": [
        "SBC_print_example_model"
      ]
    },
    {
      "page": "SBC_results",
      "title": "Create an 'SBC_results' object",
      "topics": [
        "SBC_results"
      ]
    },
    {
      "page": "SBC_statistics_from_single_fit",
      "title": "Recompute SBC statistics given a single fit.",
      "topics": [
        "SBC_statistics_from_single_fit"
      ]
    },
    {
      "page": "select.SBC_bridgesampling_diagnostics",
      "title": "Custom select implementation maintaining information about submodels",
      "topics": [
        "select.SBC_bridgesampling_diagnostics"
      ]
    },
    {
      "page": "split_SBC_results_for_bf",
      "title": "Split stats from SBC of Bayes factor into stats for the individual submodels.",
      "topics": [
        "split_SBC_results_for_bf"
      ]
    },
    {
      "page": "validate_derived_quantities",
      "title": "Validate a definition of derived quantities evaluated in R.",
      "topics": [
        "validate_derived_quantities"
      ]
    },
    {
      "page": "variable-attributes",
      "title": "Predefined constants to use for variable attributes recognized by SBC.",
      "topics": [
        "binary_var_attribute",
        "hidden_var_attribute",
        "inf_valid_var_attribute",
        "na_valid_var_attribute",
        "possibly_constant_var_attribute",
        "submodel_var_attribute",
        "validate_var_attributes",
        "var_attributes"
      ]
    }
  ],
  "_readme": "https://github.com/hyunjimoon/SBC/raw/v0.5.0/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "cachem",
    "checkmate",
    "cli",
    "codetools",
    "cpp11",
    "digest",
    "distributional",
    "dplyr",
    "farver",
    "fastmap",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "listenv",
    "magrittr",
    "matrixStats",
    "memoise",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "posterior",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 6.304275050477128,
  "_indexed": false,
  "_nocasepkg": "sbc",
  "_universes": [
    "r-multiverse"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0.0",
      "date": "2026-05-22T19:43:05.000Z",
      "distro": "noble",
      "commit": "e40a320c335460851618f7019baf79d39bbedf29",
      "fileid": "89bb8e1817d959508d72c2e725a0c24a6468b95d651cc40566575775b60cbccf",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/26218521749"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.0.0",
      "date": "2026-05-22T19:43:34.000Z",
      "distro": "noble",
      "commit": "e40a320c335460851618f7019baf79d39bbedf29",
      "fileid": "ef661a3d116d161efbb0fe525d32464a411c6ac266d0a0dbac23c6dd2e061022",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/26218521749"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0.0",
      "date": "2026-05-22T19:44:38.000Z",
      "commit": "e40a320c335460851618f7019baf79d39bbedf29",
      "fileid": "e50dea1b8be7a15fe89586e3b064c2a1a0c399277ab58f1712ea3c6b608c0700",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/26218521749"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.0.0",
      "date": "2026-05-22T19:44:27.000Z",
      "commit": "e40a320c335460851618f7019baf79d39bbedf29",
      "fileid": "13a4981a67607d9fba7479899305e9fd616b14b2c340ce3c0eeb026225037333",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/26218521749"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0.0",
      "date": "2026-05-22T19:42:49.000Z",
      "commit": "e40a320c335460851618f7019baf79d39bbedf29",
      "fileid": "388a5e088603238d027581a82ea92fda0385fbb6f048ff8e5c54387cf48859ef",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/26218521749"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0.0",
      "date": "2026-05-22T19:41:44.000Z",
      "commit": "e40a320c335460851618f7019baf79d39bbedf29",
      "fileid": "2bca6767a99a78ee3133ae11120685961e797dcb62ccf140657832312ff23810",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/26218521749"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0.0",
      "date": "2026-05-22T19:42:00.000Z",
      "commit": "e40a320c335460851618f7019baf79d39bbedf29",
      "fileid": "280c6e87954ba9612505fc68e8fe823c3293c3efe96dd3d4456d6be15f34e4f3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/26218521749"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.0.0",
      "date": "2026-05-22T19:41:40.000Z",
      "commit": "e40a320c335460851618f7019baf79d39bbedf29",
      "fileid": "8455203eddeae747d398195231342a6fd7bfea55069928960c89c381eabf0887",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/26218521749"
    }
  ]
}