Skip to contents

This helper function ensures that the catch data frame contains the required columns, extracts only the rows for the specified species.

Usage

valid_catch(catch, species)

Arguments

catch

A data frame containing the observed binned catch data with columns length, dl, and count (or catch).

species

The species name to extract from the catch data.