powered by
Convert a table from crosstab format to long format.
xtab2long(x, names = c("Year", "Age", "Value"))
a data frame in crosstab format.
a vector of three column names for the resulting data frame.
A data frame with three columns.
catage.xtab and catage.long describe the crosstab and long formats.
catage.xtab
catage.long
xtab2taf and taf2long are the underlying functions that perform the conversion.
xtab2taf
taf2long
icesTAF-package gives an overview of the package.
icesTAF-package
# NOT RUN { xtab2long(catage.xtab, names=c("Year","Age","Catch")) # }
Run the code above in your browser using DataLab