algstat (version 0.0.2)

Umaker: 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

Value

...

Details

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

References

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

See Also

Mmaker, Pmaker, Smaker

Examples

Run this code
data(politicalGoals)

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

Run the code above in your browser using DataLab