SRSAxioms is a small R Shiny application for visualizing how axioms are applied in social ranking solutions. The app lets users enter or generate power relations, compare alternatives, and inspect the axiom-based steps behind the Lexcel and L1 social ranking solutions.
The app requires R and the following R packages:
install.packages(c("shiny", "shinyjs", "sortable", "socialranking"))You can run the app from RStudio or directly from the command line.
- Open
SRSAxioms.Rprojin RStudio. - Open
app.R. - Click Run App.
From the project directory, run:
Rscript -e "shiny::runApp('.')"Alternatively, from an R session started in the project directory:
shiny::runApp(".")Shiny will print a local URL, usually something like http://127.0.0.1:xxxx, where the app can be opened in a browser.
app.R: Shiny user interface and server logic.axioms.R: Axiom definitions, tests, and transformations.lexsolutions.R: Lexcel and L1 solution logic used by the app.www/: Static assets used by the Shiny app, including MathJax and font files.
This project is licensed under the MIT License. See LICENSE for details.