Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

largestRemainders broken? #14

Open
cendt opened this issue Feb 26, 2019 · 0 comments
Open

largestRemainders broken? #14

cendt opened this issue Feb 26, 2019 · 0 comments

Comments

@cendt
Copy link

cendt commented Feb 26, 2019

I cannot get the largestRemainders() function to work. For a minimal example like
largestRemainders( parties = c("A","B","C"), votes = c(45,30,25), seats = 10, method = 'hare' )

I get an output like

Method: Hare
Divisors: 1 NA NA NA ...
ENP: 2.75 (After): 3
Gallagher Index: 61.54


Party Seats % Seats


NA 1 33.3

NA 1 33.3

NA 1 33.3

NA 0 0

NA 0 0

NA 0 0

NA 0 0

NA 0 0

NA 0 0

Warnmeldung:
In is.na(names(TABLE)) :
is.na() auf nicht-(Liste oder Vektor) des Typs 'NULL' angewendet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant