Burt: Burt atrix

Description Usage Arguments Value Author(s) See Also Examples

View source: R/auxiliar.R

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

1
Burt(x)

Arguments

x

A dataframe with factor variables or a contingency table.

Value

A matrix.

Author(s)

Alexander Pilhoefer

See Also

idat, imat

Examples

1
2
3
4
require(MASS)
Burt(housing)
th <- xtabs(Freq~Sat+Infl+Type, data = housing)
Burt(th)

extracat documentation built on July 17, 2018, 5:05 p.m.

Related to Burt in extracat...