Skip to contents

Plot residuals from tag growth increment data.

Usage

plot_tag_residuals(data, obj, xvar = "gi_L1", type = "PIT", outliers = TRUE)

Arguments

data

a list containing tag data including growth increments.

obj

a fitted model object with report() method.

xvar

a character specifying the variable to plot on the x-axis.

type

a character specifying residual type ("PIT" or "Pearson").

outliers

a character specifying residual type ("PIT" or "Pearson").

Value

a ggplot object.