Description Usage Arguments Value
Random generation from a finite mixture of Plackett-Luce models and subsequent censoring according to a given partial ordering matrix.
1 |
N |
Number of sample units. |
K |
Number of possible items. |
G |
Number of mixture components. |
p |
Numeric GxK matrix of component-specific support parameters. |
ref_order |
Numeric GxK matrix of component-specific reference orders. |
weights |
Numeric vector of the G mixture weights. |
rankingFormat |
Logical: whether the final simulated data should be expressed in ranking format. |
pi_inv |
Numeric NxK data matrix of partial orderings (to replicate the observed missingness patterns). |
Numeric NxG matrix of simulated data (default is in ordering format) with the same missingness patterns of pi_inv
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.