organise.message.fix_contingencies: Oganise and markup fixation contingencies.

Description Usage Arguments Value Examples

View source: R/ORGANISE__functions.R

Description

Oganise and markup fixation contingencies.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"))

eyeTrackR documentation built on April 14, 2020, 6:35 p.m.