inst/doc/scanpaths-and-cognitive-episodes.R

## ----setup, include=FALSE-----------------------------------------------------
knitr::opts_chunk$set(collapse = TRUE, comment = "#>", eval = FALSE)

## -----------------------------------------------------------------------------
# representative <- representative_scanpath(
#   scanpath_long,
#   method = "medoid",
#   distance = "edit",
#   id_col = "person_trial_id",
#   aoi_col = "aoi"
# )
# plot_representative_scanpath(representative)
# plot_scanpath_dispersion(representative)
# plot_scanpath_similarity_matrix(representative)
# comparison <- compare_scanpath_distributions(
#   scanpath_list,
#   group = strategy_group,
#   distance = "edit"
# )
# plot_group_scanpath_transport(comparison)

## -----------------------------------------------------------------------------
# changes <- detect_process_changepoints(
#   multimodal_stream,
#   channels = c("gaze_velocity", "pupil_bc", "eda"),
#   time_col = "time"
# )
# plot_changepoint_ribbons(changes)
# episodes <- label_process_episodes(segment_process_episodes(changes))
# plot_process_episodes(episodes)
# plot_episode_transition_graph(episodes)
# plot_episode_duration_distribution(episodes)

Try the eyeprocess package in your browser

Any scripts or data that you put into this service are public.

eyeprocess documentation built on Sept. 28, 2026, 5:08 p.m.