View source: R/PLMIXfunctions.R
unit_to_freq | R Documentation |
Construct the frequency distribution of the distinct observed sequences from the dataset of individual rankings/orderings.
unit_to_freq(data)
data |
Numeric |
Numeric matrix of the distinct observed sequences with the corresponding frequencies indicated in the last (K+1)
-th column.
Cristina Mollica and Luca Tardella
## Frequency distribution for the APA top-ordering dataset
data(d_apa)
unit_to_freq(data=d_apa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.