Learn R Programming

ubms (version 1.2.7)

loo,ubmsFit-method: Leave-one-out Cross Validation

Description

Leave-one-out Cross Validation

Usage

# S4 method for ubmsFit
loo(x, ..., cores = getOption("mc.cores", 1))

Value

A named list of class loo with estimates of the expected log predictive density and other parameters used for model comparison. See ?loo::loo for more information.

Arguments

x

A ubmsFit model

...

Currently ignored

cores

Number of cores to use for calculation