Description Usage Arguments Details Value
Block is a generic function for initializing a Block object, which represents the gazedata and stimdata for each trial in an experimental block. Each trial is represented as a data.frame of the gazedata with attributes for the stimdata. The Block object is a list of trials.
1 2 3 4 5 6 7 |
... |
Additional arguments passed onto S3 methods. Currently ignored. |
block_path |
A character string. The full file path of the gazedata and stimdata files (which should have the same directory path and basename) without the file extensions. |
gazedata |
A Gazedata object. |
stimdata |
A Stimdata object. |
Block.Gazedata is a method for initializing a Block object from a Gazedata object and a Stimdata object.
Block.character is a function for initializing a Block object from the full file path of the block, excluding its extension (since the extension is different for the stimdata and gazedata files).
A Block object—i.e., a list of trials, where each trial is represented as a data.frame of its gazedata, augmented with attributes for the stimdata.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.