stv {pref} | R Documentation |
STV election count - uses Meek STV, allows equal preferences
Description
STV election count - uses Meek STV, allows equal preferences
Usage
stv(
votedata,
outdirec = tempdir(),
plot = TRUE,
webdisplay = FALSE,
interactive = FALSE,
messages = TRUE,
timing = FALSE,
map = FALSE
)
Arguments
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 |
Value
A list containing vote and count data, + optional web pages; for details see manual pref_pkg_manual.pdf (section 3)
Examples
cnc17meek=stv(cnc17,plot=FALSE)
c99result=stv(c99,plot=FALSE)
y12meek=stv(y12,plot=FALSE)
[Package pref version 0.4.0 Index]