Session: Create a Session from multiple LWL Blocks

Description Usage Arguments Details Value

Description

Session() is a generic function for initializing a Session object, which represents the gazedata and stimdata for each trial in an experimental session. The representation of each trial in a Session object is the same as in a Block object.

Usage

1
2
3
4
5
6
7
Session(...)

## S3 method for class 'character'
Session(session_path, ...)

## S3 method for class 'list'
Session(blocks, ...)

Arguments

...

Additional arguments passed onto S3 methods. Currently ignored.

session_path

The directory path of both pairs of .gazedata and .txt files for the session—one pair for each block.

blocks

A list of Block objects, each Block object a block of the same experimental session. The Block objects in list_of_blocks should be ordered as they were presented during the experiment. That is, Block 1 of the experiment should be the first element of list_of_blocks, etc.

Details

Session.character creates a Session object from the path of the directory that contains the .gazedata and .txt (stimdata) files for blocks of an experimental session. Session.list is a (largely internal) method for initializing a Session object from a list of Block objects.

Value

A Session object.


tjmahr/lookr documentation built on May 31, 2019, 3:41 p.m.