taf2xtab: Convert TAF Table to Crosstab Format

View source: R/taf2xtab.R

taf2xtabR Documentation

Convert TAF Table to Crosstab Format

Description

Convert a table from TAF format to crosstab format.

Usage

taf2xtab(x)

Arguments

x

a data frame in TAF format.

Value

A data frame with years as row names.

Note

TAF stores tables as data frames, usually with a year column as seen in stock assessment reports. The crosstab format can be more convenient for analysis and producing plots.

See Also

catage.taf and catage.xtab describe the TAF and crosstab formats.

tt converts a TAF table to transposed crosstab format.

xtab2taf converts a crosstab table to TAF format.

TAF-package gives an overview of the package.

Examples

taf2xtab(catage.taf)


TAF documentation built on March 31, 2023, 6:51 p.m.