itrackr: Create an itrackR object

Description Usage Arguments Author(s) Examples

View source: R/itrackR.R

Description

Create an itrackR object by loading edfs

Usage

1
2
itrackr(edfs = NULL, path = NULL, pattern = "*.edf",
  resolution = c(1024, 768), binocular = FALSE)

Arguments

edfs

list of edf file names as strings. Not necessary if you use path and pattern

path

if not providing edf file names, you can provide a path to a directory and a search string

pattern

search string for finding edf files, as a regular expression (default = '*.edf')

resolution

a list specifying the x and y resolution of the monitor (default = c(1024,768))

binocular

whether the experiment used binocular tracking (currently not supported, default = FALSE)

Author(s)

Jason Hubbard, hubbard3@uoregon.edu

Examples

1
2
3
4
5
6
7
8
## Not run: 
# itrackr.data('edfs') returns full path to 2 edf files
z <- itrackr(edfs=itrackr.data('edfs'))

#Loads all edf files starting with 3 from a certain directory
z <- itrackr(path='/path/to/some/directory', pattern = '3*.edf')

## End(Not run)

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