Learn R Programming

TAF (version 4.3.0)

catage.wide: Catch at Age in Wide Format

Description

Catch-at-age table to describe a wide format data frame to store area-year-age values.

Usage

catage.wide

Arguments

Format

Data frame containing six columns:

Areaarea
Yearyear
1number of one-year-olds in the catch (millions)
2number of two-year-olds in the catch (millions)
3number of three-year-olds in the catch (millions)
4number of four-year-olds in the catch (millions)

Details

The data are an excerpt (first years and ages) from the catch-at-age table for North Sea cod from the ICES (2016) assessment. Catches in ‘area 1’ are the original data, while ‘area 2’ contains the same values multiplied by two.

See Also

catage.taf describes the TAF format.

taf2long converts a TAF table to long format.

TAF-package gives an overview of the package.

Examples

Run this code
catage.wide
wide2long(catage.wide)

Run the code above in your browser using DataLab