organise.message.fix_contingencies {eyeTrackR}R Documentation

Oganise and markup fixation contingencies.

Description

Oganise and markup fixation contingencies.

Usage

organise.message.fix_contingencies(fixreport_df, ordered_message_list)

Arguments

fixreport_df

Fixation report.

ordered_message_list

List of messages to markup, in temporal order at which they occurred.

Value

Marked-up fixation report data.table.

Examples


data(fixationreport)
data(messagereport)


# REPLACE SPACES IN MESSAGES
messagereport <- organise.message.replace_spaces(messagereport)

# TAKE A LOOK
print(organise.message.descriptives(messagereport))

# MARKUP
fixationreport <- organise.message.markup(message_df=messagereport, 
                                          fixreport_df = fixationreport, message="DISPLAY_START")

fixationreport <- organise.message.markup(message_df=messagereport, 
                                          fixreport_df = fixationreport, message="DISPLAY_CHANGE")

# NOW DO ACCURACY AND RT MARKUP
fixationreport <- organise.responses.markup(fixationreport, "CORRECT_RESPONSE")

# NOW MARK UP FIXATION CONTINGENCIES
fixationreport<-organise.message.fix_contingencies(fixationreport, 
                                          list("DISPLAY_START", "DISPLAY_CHANGE", "RESPONSE_TIME"))

[Package eyeTrackR version 1.0.1 Index]