organise.message.markup {eyeTrackR}R Documentation

Markup trial messages.

Description

Markup trial messages.

Usage

organise.message.markup(
  message_df,
  fixreport_df,
  message,
  show_working = FALSE
)

Arguments

message_df

Message report

fixreport_df

Fixation report

message

The message or event you want to mark up

show_working

Should eyeTrackR show more detail when calculating the output?

Value

An updated fixation report with the message marked up into each trial. If there is a difference between the number of input and output rows, there was a problem with the joining of your data. You'll have a repeated session name or trial index.

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")

[Package eyeTrackR version 1.0.1 Index]