xtab2taf: Convert Crosstab Table to TAF Format

Description Usage Arguments Value Note See Also Examples

View source: R/xtab2taf.R

Description

Convert a table from crosstab format to TAF format.

Usage

1
xtab2taf(x, colname = "Year")

Arguments

x

a data frame in crosstab format.

colname

name for first column.

Value

A data frame in TAF format.

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.xtab and catage.taf describe the crosstab and TAF formats.

taf2xtab converts a TAF table to crosstab format.

TAF-package gives an overview of the package.

Examples

1

TAF documentation built on April 7, 2021, 5:06 p.m.