write_ballots | R Documentation |
ranked_ballots
to a file.Deprecated in favour of fucntionality from the 'prefio' package. Writes a set of ballots to a new file. This follows the ballot:count standard, with a header describing the candidates.
write_ballots(ballots, filename = "", return_lines = FALSE, suppress = FALSE)
ballots |
The |
filename |
The name of the file to write to, or |
return_lines |
A flag which determines whether or not the output should be returned as a character vector |
suppress |
A flag which, when True, suppresses any output to stdout. |
write_ballots(ranked_ballots(c(LETTERS)), tempfile("test.txt"))
write_ballots(ranked_ballots(c(LETTERS)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.