prepare.votes: Coerce input 'data' into a matrix
Description
Coerce input 'data' into a matrix
Usage
prepare.votes(data, fsep = "\n")
Value
a matrix with one row per ballot, one column per candidate, with
named rows and columns
Arguments
- data
possibly a .csv file, possibly an R object
- fsep
separation character for .csv e.g. tab or comma