parse_serial_reaction_time_mouse | R Documentation |
https://www.jspsych.org/7.3/plugins/serial-reaction-time-mouse
parse_serial_reaction_time_mouse(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-mouse.json") d <- read_jspsych(fn) trials <- d %>% filter(trial_type == trial_types$serial_reaction_time_mouse) %>% select(record, trial_index, raw) %>% process_records(.using = parse_serial_reaction_time_mouse) %>% 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.