Learn R Programming

artemis (version 1.1.1)

waic.eDNA_model: Approximate leave-one-out cross-validation

Description

A 'waic' method for eDNA_model objects, which is simply a wrapper around waic(extract_log_lik(x))

Usage

# S3 method for eDNA_model
waic(x, ...)

Arguments

x

a eDNA_model object

...

additional args passed to waic

Value

a list with the results of the calculation.

Details

See ?loo::waic for more information about this calculation