Open an interactive participant-day sampling timeline
Source:R/interactive.R
interactive_sampling_timeline.RdThis R-native replacement for the Python notebook widget uses Shiny. The
app owns participant/day selectors and redraws plot_sampling_timeline().
Usage
interactive_sampling_timeline(
data,
show_expected = TRUE,
launch = interactive(),
host = "127.0.0.1",
port = NULL
)Arguments
- data
Complete canonical results or a sample-event tibble.
- show_expected
Whether registered target times are drawn.
- launch
Run the app immediately. Set
FALSEto return ashiny.appobjfor testing, embedding, or deployment.- host
Host passed to
shiny::runApp().- port
Optional port passed to
shiny::runApp().
Value
A Shiny app object when launch = FALSE; otherwise the result of
shiny::runApp().