| taf2long | R Documentation |
Convert a table from TAF format to long format.
taf2long(x, names = c("Year", "Age", "Value"))
x |
a data frame in TAF format. |
names |
a vector of three column names for the resulting data frame. |
A data frame with three columns.
TAF stores tables as data frames, usually with a year column as seen in stock assessment reports. The long format is more convenient for analysis and producing plots.
catage.taf and catage.long describe the TAF and
long formats.
long2taf converts a long table to TAF format.
wide2long converts a wide table to long format.
TAF-package gives an overview of the package.
taf2long(catage.taf, names=c("Year","Age","Catch"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.