long2xtab {TAF} | R Documentation |
Convert Long Table to Crosstab Format
Description
Convert a table from long format to crosstab format.
Usage
long2xtab(x)
Arguments
x |
a data frame in long format. |
Value
A data frame with years as row names.
See Also
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.
Examples
long2xtab(catage.long)
[Package TAF version 4.2.0 Index]