tt {TAF} | R Documentation |
TAF Transpose
Description
Convert a table from TAF format to transposed crosstab format.
Usage
tt(x, column = FALSE)
Arguments
x |
a data frame in TAF format. |
column |
a logical indicating whether the group names should be stored
in a column called ‘Age’ instead of in row names. Alternatively,
|
Value
A data frame with years as column names.
Note
Transposing can be useful when comparing TAF tables to stock assessment reports.
See Also
t
transposes a matrix.
catage.taf
describes the TAF format.
taf2xtab
converts a TAF table to crosstab format, without
transposing.
TAF-package
gives an overview of the package.
Examples
taf2xtab(catage.taf)
tt(catage.taf)
tt(catage.taf, TRUE)
tt(catage.taf, "Custom")
[Package TAF version 4.2.0 Index]