runSurprisalApp: Launch the SurprisalAnalysis Shiny App

View source: R/runApp.R

runSurprisalAppR Documentation

Launch the SurprisalAnalysis Shiny App

Description

Launch the SurprisalAnalysis Shiny App

Usage

runSurprisalApp(
  port = getOption("shiny.port", 3838),
  host = getOption("shiny.host", "127.0.0.1"),
  launch.browser = getOption("shiny.launch.browser", TRUE),
  run = TRUE,
  ...
)

Arguments

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

Value

no return value, running the function will launch an application with graphical user interface

Examples


runSurprisalApp(port = httpuv::randomPort(), run = FALSE)


SurprisalAnalysis documentation built on Sept. 10, 2025, 10:30 a.m.