random_profile_of_rankings | R Documentation |
Useful for testing purposes
random_profile_of_rankings( ncandidates = 4, nvoters = 10, seed = NULL, withties = FALSE, cnames = NULL, distinct = NULL, distribution = "norm" )
ncandidates |
Number of candidates. Default is 4. |
nvoters |
Number of voters. Default is 10. |
seed |
To fix a seed to replicate the results. Default is NULL. |
withties |
Indicates whether the profile created can contain ties. Default is FALSE. |
cnames |
Names of the candidates |
distinct |
Num |
distribution |
norm or uniform |
A profile of rankings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.