xtab2taf {TAF} | R Documentation |
Convert Crosstab Table to TAF Format
Description
Convert a table from crosstab format to TAF format.
Usage
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
xtab2taf(catage.xtab)
[Package TAF version 4.2.0 Index]