Skip to content

justineuro/sdRgraph-shiny-alpha

Repository files navigation

sdRgraph-shiny-alpha.R

(Note: An R package for this function is at sdRgraph.)

An R shiny app that features an R function than can be used for creating semantic differential (SD) inventory plots (see Wikipedia: Semantic differential for more info).

This directory includes the ui.R and server.R files for the shiny app. (Note: Only these two file are strictly needed to run the shiny app. However, you may have to edit some of the graphing parameters in server.R, as the need arises, to get better quality plots.)
To run this app, at the R command line (at a Linux terminal R session or in an rstudio R session):

library(shiny)
runApp("PATH_TO_DIRECTORY/sdRgraph-shiny-alpha")

(... or runApp("PATH_TO_DIRECTORY/sdRgraph-shiny-alpha/app")).
R then displays a localhost URL at which the app is running, e.g., http://localhost:4317. If you are using rstudio, then an internal R browser may automatically open; this internal browser allows one to open the app in an external browser with a click on Open in Browser.


Notes:

  • The data matrix field has to be edited so that the contents are consistent with entered values for the number of scale levels (default of nx=5) and descriptors (default of ny = 7). Please see the function description of sdRplot.R for more details.)
  • A similar shiny app is hosted in the Posit Connect Cloud at: URL.

Acknowledgements

Many thanks!

  • R for the software.
  • GitHub for hosting the project.
  • OpenAI: ChatGPT was used to write the codes for this shiny app based on the codes for sdRplot.R. Please access the public ChatGPT session at: URL, for more info.
  • Posit Connect Cloud for hosting the app.

Additional materials

The following additional related materials from the sdRplot GitHub repository are also included here for convenience but are not needed for running the shiny app.

Creative Commons License
sdRgraph-shiny-alpha by Justine Leon A. Uro is licensed under a Creative Commons Attribution 4.0 International License.
Based on a work at https://github.com/justineuro/sdRgraph-shiny-alpha.

Releases

No releases published

Packages

No packages published