SBC_fit: S3 generic using backend to fit a model to data.

View source: R/backends.R

SBC_fitR Documentation

S3 generic using backend to fit a model to data.

Description

Needs to be implemented by all backends. All implementations have to return an object for which you can safely call SBC_fit_to_draws_matrix() and get some draws. If that's not possible an error should be raised.

Usage

SBC_fit(backend, generated, cores)

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