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

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)