tag.data.preparation: Prepare data for tagging plots

Description Usage Arguments

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

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

1
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 July 18, 2021, 9:25 a.m.