long2xtab: Convert Long Table to Crosstab Format

View source: R/long2xtab.R

long2xtabR 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)


TAF documentation built on March 31, 2023, 6:51 p.m.