Description Usage Arguments Details Value Examples
A response definition controls how aggregate_looks()
works.
1 2 3 4 5 6 7 | create_response_def(
primary,
others,
elsewhere = NULL,
missing = NA,
label = NULL
)
|
primary |
the primary response of interest |
others |
other responses of interest |
elsewhere |
responses to ignore |
missing |
responses that indicate missing data. Defaults to |
label |
optional label for the response definition. Defaults to the
value of |
To deal with eyetracking data in a generic way, we need a way to describe eyetracking responses. We assume that there are four basic gaze types.
Primary responses: A gaze to a primary or target image.
Other responses: Gazes to competing images.
Elsewhere looks: A gaze that is onscreen but not a primary or other response. Typically, this occurs when the participant is shifting between images.
Missing looks: A missing or offscreen gaze.
A response definition is a programmatic way of describing these response
types, and it allows aggregate_looks()
to map gaze data onto looking
counts.
a response_def
object
1 2 3 4 5 6 | create_response_def(
label = "looks to target",
primary = "Target",
others = c("PhonologicalFoil", "SemanticFoil", "Unrelated"),
elsewhere = "tracked",
missing = NA)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.