stv | R Documentation |
STV election count - uses Meek STV, allows equal preferences
stv(
votedata,
outdirec = tempdir(),
plot = TRUE,
webdisplay = FALSE,
interactive = FALSE,
messages = TRUE,
timing = FALSE,
map = FALSE
)
votedata |
File with vote data |
outdirec |
Needs to be set for permanent record of results |
plot |
If =TRUE (default) produces plots of count and webpages in outdirec |
webdisplay |
If =TRUE displays plots and statistics as web pages |
interactive |
If =TRUE reports and pauses at each stage of the count (press return to continue to next stage) |
messages |
If=TRUE prints 1-line initial and final reports |
timing |
Whether to report computing time at each stage |
map |
Link to a map or other URL associated with election |
A list containing vote and count data, + optional web pages; for details see manual pref_pkg_manual.pdf (section 3)
cnc17meek=stv(cnc17,plot=FALSE)
c99result=stv(c99,plot=FALSE)
y12meek=stv(y12,plot=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.