analyse.visit.count {eyeTrackR} | R Documentation |
Analyse visit count
Description
Analyse visit count
Usage
analyse.visit.count(
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 number of visits to each object, 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)
fixationreport[,CURRENT_FIX_INTEREST_AREA_RUN_ID:=1,]
visitCounts <- analyse.visit.count(fixationreport, aggregation_column_list = list('TRIALTYPE_TEXT'))
[Package eyeTrackR version 1.0.1 Index]