Use biproportional apportionment interactively in a shiny app
run_app(votes_matrix = NULL, district_seats = NULL)
optional votes_matrix to load upon start
optional district_seats to load upon start
Calling the function starts the shiny app
if(interactive()){
# You need to have the packages 'shiny' and 'shinyMatrix' installed to run the app
run_app()
# It's possible to load a matrix with the app
run_app(uri2020$votes_matrix, uri2020$seats_vector)
}