parse_serial_reaction_time | R Documentation |
https://www.jspsych.org/7.3/plugins/serial-reaction-time
parse_serial_reaction_time(d)
d |
List with unprocessed trial data |
Single row tibble with results. Check jsPsych documentation for the list of available variables.
## Not run: fn <- demo_file("jspsych-serial-reaction-time.json") d <- read_jspsych(fn) trials <- d %>% filter(trial_type == trial_types$serial_reaction_time) %>% select(record, trial_index, raw) %>% process_records(.using = parse_serial_reaction_time) %>% unnest(processed) trials %>% select(-raw) %>% mutate(ncol = map_int(.$grid, ~ ncol(.)), nrow = map_int(.$grid, ~ nrow(.))) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.