Learn R Programming

Matrix (version 0.9-1)

bCrosstab: Create pairwise crosstabulation

Description

Create the pairwise crosstabulation of two or more factors.

Usage

bCrosstab(flist, reorder = TRUE)

Arguments

flist
A list of two or more factors. All factors must have the same length.
reorder
Logical flag determining if reordering of the factors is allowed.

Value

  • A list with components flist, a possibly reordered copy of the first argument, and ctab, the pairwise crosstabulation.