Generate datasets via a function that creates a single dataset.

SBC_generator_function(f, ...)

Arguments

f

function returning a list with elements variables (prior draws, a list or anything that can be converted to draws_rvars) and generated (observed dataset, ready to be passed to backend)

...

Additional arguments passed to f