export_two_modularities: export a combined video and et dataframe in long form

View source: R/export_both.R

export_two_modularitiesR Documentation

export a combined video and et dataframe in long form

Description

Please do check that the output matches what you want to use

Usage

export_two_modularities(
  et_data,
  video_data,
  hertz = 100,
  IA = "BIA",
  .return_full_data = F
)

Arguments

et_data

a rectangular data for eyetracking from read_et_data

video_data

a rectangular data from read_video_data

hertz

the capture rate of the video in hertz defaults to 100

IA

the label for the interest area. Defaults to bIA

.return_full_data

return unfiltered frame for debugging and recoding.

Examples

 ## Not run: 
video_data <- read_video_data('data/annotate.txt')
et_data <- read_et_data('data/eyetrack.txt')
out <- export_two_modularities(et_data, video_data, 100)

## End(Not run)


samhforbes/DDLab documentation built on Nov. 12, 2024, 3:24 p.m.