Learn R Programming

rankdist (version 1.0.0)

GenerateExample: Generate simple examples

Description

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

Usage

GenerateExample(ranking = TRUE)

Arguments

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