Generate simple examples

Share:

Description

This function generates simple examples for illustrative proposes. The sample contains rankings of five objects and the underlying model is a Mallows' phi model with default dispersion parameter set to 0.2 and modal ranking set to (1,2,3,4,5)

Usage

1
GenerateExample(ranking = TRUE, central = 1:5, lambda = 0.2)

Arguments

ranking

TRUE if "ranking" representation is used in the output data; otherwise "ordering" representation is used.

central

The modal ranking.

lambda

The parameter in the model.