Find messages in a session log and assign to trials

find_log_message(df, messages, .colnames)

Arguments

df

A session log data frame

messages

A vector of string

.colnames

A vector of column names, the same size as `messages`

Value

A data frame with `trial_num` and `.colnames` (boolean)