Learn R Programming

extracat (version 1.6-3)

Burt: Burt atrix

Description

The Burt matrix is a quadratic matrix where each row and column corresponds to a category in one of the variables. The entries of the matrix are the frequencies of the corresponding combination of categories.

Usage

Burt(x)

Arguments

x
A dataframe with factor variables or a contingency table.

Value

  • A matrix.

See Also

idat, imat

Examples

Run this code
Burt(housing)
th <- xtabs(Freq~Sat+Infl+Type, data = housing)
Burt(th)

Run the code above in your browser using DataLab