prepare.votes {SafeVote} | R Documentation |
Coerce input 'data' into a matrix
Description
Coerce input 'data' into a matrix
Usage
prepare.votes(data, fsep = "\n")
Arguments
data |
possibly a .csv file, possibly an R object |
fsep |
separation character for .csv e.g. tab or comma |
Value
a matrix with one row per ballot, one column per candidate, with named rows and columns
[Package SafeVote version 1.0.0 Index]