plot.switch_data: Plot mean switch-from-initial-AOI times.

View source: R/onset_contingent_data.R

plot.switch_dataR Documentation

Plot mean switch-from-initial-AOI times.

Description

Boxplot of mean switch time aggregated by subjects within each FirstAOI, potentially faceted by predictor_columns.

Usage

## S3 method for class 'switch_data'
plot(x, predictor_columns = NULL, ...)

Arguments

x

The output of the make_switch_data function

predictor_columns

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

...

Ignored

Value

A ggplot object


eyetrackingR documentation built on Sept. 15, 2023, 5:08 p.m.