Umaker: U matrix (rank data)

View source: R/makers.r

UmakerR Documentation

U matrix (rank data)

Description

Compute the generalized marginals matrix for a full ranking of m objects. Umaker generalized Mmaker.

Usage

Umaker(m)

Arguments

m

the number of objects

Details

This is the transpose of the generalized marginals matrix presented in Marden (1995).

Value

...

References

Marden, J. I. (1995). Analyzing and Modeling Rank Data, London: Chapman & Hall. pp.47–48.

See Also

Mmaker(), Pmaker(), Smaker()

Examples



data(political_goals); political_goals

lambdas <- apply(partitions(4), 1, function(v) v[v != 0])





dkahle/algstat documentation built on May 23, 2023, 12:29 a.m.