compile_trial_by_trial_results: Compile trial-by-trial results

View source: R/compile-trial-by-trial-results.R

compile_trial_by_trial_resultsR Documentation

Compile trial-by-trial results

Description

Compiles a data frame of trial-by-trial results for each participant. This function is intended to be called once data have been collected for several participants; it allows the researcher to inspect MPT results on a trial-by-trial level.

Usage

compile_trial_by_trial_results(
  in_dir = "output/results",
  label = "MPT",
  combine = TRUE
)

Arguments

in_dir

Results directory to process.

label

Label that the MPT's results were saved under.

combine

Whether to combine results into one big data frame, or instead to return a list of data frames, one for each participant.

Value

A data frame, or list of data frames, of trial-by-trial results.


pmcharrison/mpt documentation built on May 2, 2024, 7:20 p.m.