Skip to contents

A loo::loo_compare() method that is customized for measrfit objects. See the loo package vignettes for details.

Usage

# S3 method for measrfit
loo_compare(x, ..., criterion = c("loo", "waic"), model_names = NULL)

Arguments

x

A measrfit object.

...

Additional objects of class measrfit.

criterion

The name of the criterion to be extracted from the measrfit object for comparison.

model_names

Names given to each provided model in the comparison output. If NULL (the default), the names will be parsed from the names of the objects passed for comparison.

Value

The object returned by loo::loo_compare().