powered by
Convert a table from wide format to long format.
wide2long(x, names = c("Age", "Value"))
A data frame.
a data frame in wide format.
a vector of two names for the last two columns of the resulting data frame.
catage.taf and catage.wide describe the TAF and wide formats.
catage.taf
catage.wide
taf2long converts a TAF table to long format.
taf2long
TAF-package gives an overview of the package.
TAF-package
wide2long(catage.wide, names=c("Age","Catch"))
Run the code above in your browser using DataLab