Skip to content

jassler/SRSAxioms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SRSAxioms

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.

Requirements

The app requires R and the following R packages:

install.packages(c("shiny", "shinyjs", "sortable", "socialranking"))

Running the Shiny App

You can run the app from RStudio or directly from the command line.

RStudio

  1. Open SRSAxioms.Rproj in RStudio.
  2. Open app.R.
  3. Click Run App.

Command Line

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.

Project Structure

  • 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.

License

This project is licensed under the MIT License. See LICENSE for details.

About

A small R Shiny application to visualize the application of axioms in social ranking solutions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages