plot.itrackR: Plot data from itrackR object

Description Usage Arguments Author(s) Examples

View source: R/plotting.R

Description

This creates a scatterplot of fixation data from an itrackR object

Usage

1
2
3
4
## S3 method for class 'itrackR'
plot(obj, zoom = TRUE, crosshairs = TRUE, rois = TRUE,
  whichROIs = "all", names = FALSE, IDs = c(), summarize = 0,
  quick = F, condition = NULL, oneplot = F)

Arguments

obj

the itrackR object to plot

zoom

whether to zoom within the bounds of the screen resolution (obj$resolution)

rois

show outlines of the rois in the plots (default = TRUE)

whichROIs

a list of ROI names if you want to display only a subset of them

IDs

list of subject IDs if you want to plot only a subset of subjects

summarize

create 2d histogram of fixations. Specify the number of bins.

condition

for subsetting based on behavioral data. Syntax is the same as used in subset

oneplot

whether to plot all subjects' data on a single plot (default = FALSE). By default it creates a separate plot per subject

corsshairs

show dotted red lines crossing through the center of the screen (default = TRUE)

Author(s)

Jason Hubbard, hubbard3@uoregon.edu

Examples

1
2
3
4
5
## Not run: 
z <- itrackr(edfs=itrackr.data('edfs'))
plot(z, zoom = T)

## End(Not run)

jashubbard/itrackR documentation built on May 18, 2019, 4:53 p.m.