plot_fixations: Plot Fixations With AOIs for PEEK Tobii Data

Description Usage Arguments Details Examples

Description

plot_fixations() is a ggplot(). It's useful for doing a quick check that your AOIs look reasonable when plotted with the raw eyetracking data.

Usage

1
plot_fixations(df_et, frac_size = 0.05, aois_list, ...)

Arguments

df_et

A data frame of Tobii data, usually created by the read_tobii() function.

frac_size

A double indicating the fraction of rows (fixations) to plot for each participant. Useful for controlling how long the plot will take to render.

aois_list

A named list of AOI coordinates with the structure: aois_list <- list(l_xmin=7, l_xmax=396, l_ymin=1749, l_ymax=2044, r_xmin=1289, r_xmax=1685, l_ymin=1751, l_ymax=2044)

...

Additional arguments, typically used to pass along to ggplot.

Details

This function allows you to make an exploratory plot of the Tobii .tsv eyetracking data with the AOIs read from the AOI .txt file.

Examples

1
## Not run: plot_fixations(df_et, frac_size = .05, aois_list)

kemacdonald/Rtobii documentation built on May 4, 2019, 1:21 p.m.