SBC_results: Create an 'SBC_results' object

View source: R/results.R

SBC_resultsR Documentation

Create an SBC_results object

Description

This will build and validate an SBC_results object from its constituents.

Usage

SBC_results(
  stats,
  fits,
  backend_diagnostics,
  default_diagnostics,
  outputs,
  messages,
  warnings,
  errors
)

Details

The SBC_results contains the following fields:

  • ⁠$stats⁠ statistics for all variables and fits (one row per variable-fit combination)

  • ⁠$fits⁠ the raw fits (unless keep_fits = FALSE) or NULL if the fit failed

  • ⁠$errors⁠ error messages that caused fit failures

  • ⁠$outputs⁠, ⁠$messages⁠, ⁠$warnings⁠ the outputs/messages/warnings written by fits

  • ⁠$default_diagnostics⁠ a data frame of default convergence/correctness diagnostics (one row per fit)

  • ⁠$backend_diagnostics⁠ a data frame of backend-specific diagnostics (one row per fit)


hyunjimoon/SBC documentation built on March 15, 2024, 3:18 a.m.