View source: R/create_ET_trial_data.R
create_ET_trial_data | R Documentation |
This was designed to work with eyelink fixation reports and the VWM trial. I can't guarantee it will bring out what you want beyond that so please check the output carefully.
create_ET_trial_data(data, task, write = F, show_all_missing = F)
data |
a dataframe read in from a fixation report CSV or txt |
task |
in quotes, a string regarding the task you are interested in from the task column |
write |
if TRUE will save a csv in the current working directory |
show_all_missing |
if T will assume 18 trials per participant and leave blank rows |
A formatted dataframe with CP, SwitchRate, MLD and TLT, as well as coding info.
library(readr)
data <- read_csv("etdata.csv")
data_out <- create_ET_trial_data(data, task = 'VWM', write = F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.