parse_profile_of_rankings | R Documentation |
Create profile of rankings using its string representation.
parse_profile_of_rankings(string)
string |
A string containing a representation of the ranking in the form: "number_of_voters_r1, ranking1, number_of_voters_r2, ranking2, ..., number_of_voters_rN, rankingN" The operators used for representing that one candidate is preferred to another are ≻ and >. For representing ties use ~. |
A profile of rankings object containing the representation.
parse_profile_of_rankings("6, a ≻ b ≻ c ≻ d, 5, b ≻ c ≻ a ≻ d, 3, c ≻ d ≻ a ≻ b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.