rb_timeseries_panel: Build a single-series pupil time series panel

View source: R/utils-reaborn.R

rb_timeseries_panelR Documentation

Build a single-series pupil time series panel

Description

Draws y against x as a reaborn line plot in color, shading any missing-sample gaps, and applies the supplied titles/labels.

Usage

rb_timeseries_panel(
  x,
  y,
  color = "#377EB8",
  title = NULL,
  xlab = "time (ms)",
  ylab = "pupil size"
)

Arguments

x

Numeric x positions (e.g. time)

y

Numeric y values (e.g. pupil size); NA marks missing samples

color

Line colour

title

Panel title

xlab, ylab

Axis labels

Value

A ggplot object


eyeris documentation built on Aug. 1, 2026, 1:07 a.m.