unit_to_freq: Frequency distribution from the individual rankings/orderings

Description Usage Arguments Value Author(s) Examples

View source: R/PLMIXfunctions.R

Description

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

Usage

1

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

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

PLMIX documentation built on Sept. 4, 2019, 5:03 p.m.