GenerateExample: Generate simple examples

Description Usage Arguments

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.



Search within the rankdist package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.