powered by
STV election count using WIG as for Scottish Council elections calculated to 5 places of decimals as used for those elections
stv.wig( votedata, outdirec = tempdir(), plot = TRUE, webdisplay = FALSE, interactive = FALSE, messages = TRUE, timing = FALSE, map = FALSE )
A list containing votes at each stage, + optional web pages; for details see manual pref_pkg_manual.pdf (section 3)
File with vote data
Needs to be set for permanent record of results (press return to continue to next stage)
If =TRUE (default) produces plots of count and webpages in outdirec
If =TRUE displays plots and statistics as web pages
If =TRUE reports and pauses at each stage of the count
If=TRUE prints 1-line initial and final reports
Whether to report computing time at each stage
Link to a map or other URL associated with election
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)
Run the code above in your browser using DataLab