Description Usage Arguments Value Author(s) Examples
This function specifies which AOI participants look to first for a given trial. This function only deals with 2 AOIs - typically used in infant/child studies where you want to know which AOI - the left or right AOI - did infants/children first look? This data should deal with raw eyetracking data.
1 | firstlook(data_by_trial, "subjectIDs", "AOI1", "AOI2")
|
data_by_trial |
name of the dataframe. Each df needs to be a unique trial |
"subjectIDs" |
the column of the subjectIDs |
"AOI1" |
the column of one of the desired AOIs |
"AOI2" |
the column of one of the desired AOIs |
This function returns a dataframe. The rows are each subject and the column is which AOI subjects looked too first.
Nicole Burke
1 2 3 4 5 6 7 8 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (x)
{
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.