analyse.fix.first_duration {eyeTrackR}R Documentation

Analyse first fixation duration

Description

Analyse first fixation duration

Usage

analyse.fix.first_duration(
  fixreport_df,
  aggregation_column_list = c(),
  spss = FALSE,
  prefixLabel = ""
)

Arguments

fixreport_df

Fixation report

aggregation_column_list

List of columns to group by

spss

Should the function save output for SPSS?

prefixLabel

Prefix label

Value

If spss is set to FALSE (which is the default), you'll get an object containing data.tables of by-trial means for first fixation durations, by-trial means for particpants, and overall descriptive statistics for use when creating graphs based on your data. If spss is set to TRUE, then you'll be provided with a 'wide' version of the data for analysis in packages such as SPSS. The function will also save a copy of the for-spss file for you as well.

Examples

# BREAK UP BY TARGET-PRESENT AND TARGET-ABSENT TRIALS - THE COLUMN TRIALTYPE_TEXT
data(fixationreport)
firstDurations <- analyse.fix.first_duration(fixationreport, 
     aggregation_column_list = list('TRIALTYPE_TEXT'))

[Package eyeTrackR version 1.0.1 Index]