GenerateExample {rankdist}R Documentation

Generate simple examples

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

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.


[Package rankdist version 1.1.4 Index]