Skip to contents

This 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 FALSE to return a shiny.appobj for 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().