run_app {proporz} | R Documentation |
Use biproportional apportionment interactively in a shiny app
Description
Use biproportional apportionment interactively in a shiny app
Usage
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)
}
[Package proporz version 1.5.0 Index]