calc_T.ty: (SPFI) Calculate the Pacific Salmon Treaty catch, grouped by...

Description Usage Arguments Value Examples

Description

This is equivalent to equation 3 in the draft SPFI document. The output is the same as found in the Visual Basic variable: CatchContribution. The SEAK data includes values for "Alaska hatchery contribution". The "Alaska hatchery contribution" is subtrated from the catch (by stratum and year) to produce the PSC catch.

Usage

1
calc_T.ty(catch.df)

Arguments

catch.df

A data frame, extracted from the output of readCatchData, such as: data.catch$data.catch.

Value

A data frame.

Examples

1
2
3
4
5
## Not run: 
data.catch <- readCatchData("wcvi7914.cat", strLocation = 'wcvi')
T.ty <- calc_T.ty(catch.df = data.catch$data.catch)

## End(Not run)

MichaelFolkes/ctctools documentation built on May 7, 2019, 4:56 p.m.