stv.wig {pref} | R Documentation |
STV election count using WIG as for Scottish Council elections calculated to 5 places of decimals as used for those elections
Description
STV election count using WIG as for Scottish Council elections calculated to 5 places of decimals as used for those elections
Usage
stv.wig(
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 (press return to continue to next stage) |
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 |
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 votes at each stage, + optional web pages; for details see manual pref_pkg_manual.pdf (section 3)
Examples
hc12wig=stv.wig(hc12,plot=FALSE,messages=FALSE)
nws17wig=stv.wig(nws17,plot=FALSE)
p17wig=stv.wig(p17,plot=FALSE)
cnc17wig=stv.wig(cnc17,plot=FALSE,timing=TRUE)
[Package pref version 0.4.0 Index]