Use biproportional apportionment interactively in a shiny app

run_app(votes_matrix = NULL, district_seats = NULL)

Arguments

votes_matrix

optional votes_matrix to load upon start

district_seats

optional district_seats to load upon start

Value

Calling the function starts the shiny app

Examples

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)
}