Learn R Programming

eyetrackingR (version 0.2.1)

plot.onset_data: Plot onset-contingent data

Description

Divide trials into which AOI participants started on; plot proportion looking away from that AOI.

Usage

# S3 method for onset_data
plot(x, predictor_columns = NULL, ...)

Value

A ggplot object

Arguments

x

The output of the make_onset_data function

predictor_columns

Column(s) by which to facet the data. Maximum two columns. Will perform median split if numeric.

...

Ignored