Replicate a fixation sequence.
Usage
rep_fixations(x, resolution)
# S3 method for class 'fixation_group'
rep_fixations(x, resolution = 100)Details
This function replicates a fixation sequence with a specified temporal resolution. It can be useful when working with fixation data that needs to be resampled or when creating fixation sequences with consistent temporal spacing.
For fixation groups, each fixation is repeated
floor(duration * resolution) times, and at least once. The floor
tolerates floating-point error, so a duration of 0.29 at resolution 100 gives
29 copies rather than 28.