Leave-one-out cross validation for disbayes models

# S3 method for disbayes
loo(x, outcome = "overall", ...)

Arguments

x

A model fitted by disbayes. Any of the computation methods are supported.

outcome

Either "overall", to assess the fit to all data, or one of "inc", "prev", "mort" or "rem", to assess the fit to the incidence data, prevalence data, mortalidy data or remission data, respectively.

...

Other arguments (currently unused).

Value

An object of class "loo" as defined by the loo package.

See also

loo_indiv to return tidied observation-specific contributions to the overall model fit computed here.