Skip to contents

This is the same as plot(loo1) except it colours/groups the different types of data.

Usage

plot_loo(x, exclude = NULL, l_cpue = NULL, data = NULL)

Arguments

x

A psis_loo object.

exclude

A character vector of variable names to exclude from the plot (e.g., "lf", "cpue", "catch", "tag", "sexr").

l_cpue

An optional named vector mapping CPUE index numbers to labels. If NULL (default), CPUE data points are labelled as "cpue".

data

An optional model data list containing cpue_q index vector used to label CPUE data points. Required when l_cpue is not NULL.

Value

a ggplot2 object.