runSurprisalApp | R Documentation |
Launch the SurprisalAnalysis Shiny App
runSurprisalApp(
port = getOption("shiny.port", 3838),
host = getOption("shiny.host", "127.0.0.1"),
launch.browser = getOption("shiny.launch.browser", TRUE),
run = TRUE,
...
)
port |
port to run the app on (passed to shiny::runApp) |
host |
host to listen on |
launch.browser |
should launch a browser? set to TRUE by default |
run |
boolean value, is set to TRUE by default. If set to FALSE it will not launch the graphical user interface |
... |
Further arguments passed along to shiny::runApp |
no return value, running the function will launch an application with graphical user interface
runSurprisalApp(port = httpuv::randomPort(), run = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.