
parameter-checking method for nseats (internal)
check.nseats(
nseats = NULL,
ncandidates,
default = 1,
mcan = NULL,
complete.ranking = FALSE
)
a valid non-NULL value for the number of seats to be filled
initially-specified number of seats to be filled in an election
the number of candidates standing for election
the return value of this function when nseats=NULL
a deprecated name for nseats
when TRUE, the return value is in 1..ncandidates When FALSE, the return value is in 1..ncandidates-1 (for backwards compatibility)