Convert a table from TAF format to transposed crosstab format.
tt(x, column = FALSE)
a data frame in TAF format.
a logical indicating whether the group names should be stored
in a column called Age instead of in row names. Alternatively,
column
can be a string supplying another name for that first
column.
A data frame with years as column names.
t
transposes a matrix.
catage.taf
describes the TAF format.
taf2xtab
converts a TAF table to crosstab format, without
transposing.
icesTAF-package
gives an overview of the package.
# NOT RUN {
taf2xtab(catage.taf)
tt(catage.taf)
tt(catage.taf, TRUE)
tt(catage.taf, "Custom")
# }
Run the code above in your browser using DataLab