Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

unit_to_freq

Frequency distribution from the individual rankings/orderings


Description

Construct the frequency distribution of the distinct observed sequences from the dataset of individual rankings/orderings.

Usage

unit_to_freq(data)

Arguments

data

Numeric NxK data matrix of observed individual sequences.

Value

Numeric matrix of the distinct observed sequences with the corresponding frequencies indicated in the last (K+1)-th column.

Author(s)

Cristina Mollica and Luca Tardella

Examples

## Frequency distribution for the APA top-ordering dataset
data(d_apa)
unit_to_freq(data=d_apa)

PLMIX

Bayesian Analysis of Finite Mixtures of Plackett-Luce Models for Partial Rankings/Orderings

v2.1.1
GPL (>= 2)
Authors
Cristina Mollica [aut, cre], Luca Tardella [aut]
Initial release
2019-09-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.