firstlook_gp: First Look function for goal prediction paradigm

Description Usage Arguments Value Author(s) Examples

View source: R/firstlook_gp.R

Description

This function specifies which AOI participants look to first for a given trial AFTER they have looked to the hand AOI. This function can be used for the goal prediction paradgim.

Usage

1
firstlook_gp(dataframe, "subjectID", "handAOI", "AOI1", "AOI2")

Arguments

dataframe

The name of the dataframe.

"subjectID"

The column with the subjectIDs.

"handAOI"

The column with the handAOI.

"AOI1"

One of the desired AOI columns.

"AOI2"

One of the desired AOI columns.

Value

This function returns a dataframe. The rows are each subject and the column is which AOI subjects looked to first after they have looked at the hand. If the value is none either 1) infants did not look to either AOI1 or AOI2 after looking at the hand AOI or 2) they never looked to the hand AOI.

Author(s)

Nicole Burke and Marlene Meyer

Examples

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)
{
  }

nicoleburke/aoianalysis documentation built on Oct. 15, 2020, 4:07 p.m.