organise.responses.markup {eyeTrackR}R Documentation

Mark up responses into a fixation report.

Description

Mark up responses into a fixation report.

Usage

organise.responses.markup(fixreport_df, correct_answer_column)

Arguments

fixreport_df

Fixation report

correct_answer_column

The column in the fixation report containing the correct button response number (1-7).

Value

Updated fixation report as a 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")

[Package eyeTrackR version 1.0.1 Index]