tag.data.preparation: Prepare data for tagging plots

View source: R/tag.data.preparation.R

tag.data.preparationR Documentation

Prepare data for tagging plots

Description

The data required for the tagging plots are in different sources (temporary_tag_report, tag files, par files). This function pulls the data together into a single data.frame to be passed to the tag plotting functions.

Usage

tag.data.preparation(tagrep, tagobs, par, fishery.map)

Arguments

tagrep

A data.frame of tag returns from the temporary_tag_returns file. The output from the FLR4MFCL function read.temporary_tag_report().

tagobs

An object of type MFCLTag.

par

An object of MFCLPar that contains the effort deviations.

fishery.map

A data.frame that describes which fishery is fishing in which region and with which gear. The columns are: fishery_name, region, gear, fishery (the reference number), tag_recapture_group and tag_recapture_name. The map should contain entries for all fisheries to avoid data being inadvertently dropped.


PacificCommunity/ofp-sam-diags4MFCL documentation built on Oct. 11, 2023, 1:32 a.m.