compare_loo: compare_loo

Description Usage Arguments Value

View source: R/compare_loo.R

Description

use leave-one-out cross validation approximation for a collection of n models and calculate the difference in expected log point density (and se), and also calculate model weights. Stan output must already exist

Usage

1
compare_loo(species, data.2.use)

Arguments

species

what species to use. either "zoop", "fish", "Pacific Hake", or "Pacific Herring"

data.2.use

what response variable to use either "Sa", "fullness", or "dietcomp"

Value

list(comp, stacking_wts)


tessington/pelagichypoxia documentation built on May 10, 2020, 5:12 p.m.