long2xtab {TAF} | R Documentation |
Convert a table from long format to crosstab format.
long2xtab(x)
x |
a data frame in long format. |
A data frame with years as row names.
catage.long
and catage.xtab
describe the long and
crosstab formats.
long2taf
and taf2xtab
are the underlying
functions that perform the conversion.
TAF-package
gives an overview of the package.
long2xtab(catage.long)