Animate a Fixation Scanpath with gganimate
anim_scanpath.Rd
This function creates an animated visualization of a fixation scanpath using gganimate.
Arguments
- x
A `fixation_group` object.
- bg_image
An optional image file name to use as the background.
- xlim
The range in x coordinates (default: range of x values in the fixation group).
- ylim
The range in y coordinates (default: range of y values in the fixation group).
- alpha
The opacity of each dot (default: 1).
- anim_over
Animate over index (ordered) or onset (real time) (default: c("index", "onset")).
- type
Display as points or a raster (default: c("points", "raster")).
- time_bin
The size of the time bins (default: 1).
See also
Other visualization:
plot.eye_density()
,
plot.fixation_group()