Calculates Bin scores using the method suggested in Hughes et al. (2014) and Draheim et al. (2016)
bin_score(
x,
rt = "RT",
accuracy = "Accuracy",
condition = "Condition",
baseline = "congruent",
type = "mean",
id = "Subject"
)
a dataframe with trial level data. Needs to have RT and Accuracy DVs
Column name in dataframe that contains the reaction time data
Column name in dataframe that contains the accuracy data
Column name in dataframe that contains the trial condition type
The values that specify the baseline condition
How should Bin trials be aggregated, "sum" or "mean" (Default: "mean")
Column name in dataframe that contains the subject identifiers
Draheim, C., Hicks, K. L., & Engle, R. W. (2016). Combining reaction time and accuracy: The relationship between working memory capacity and task switching as a case example. Perspectives on Psychological Science, 11(1), 133–155. https://doi.org/10.1177/1745691615596990
Hughes, M. M., Linck, J. A., Bowles, A. R., Koeth, J. T., & Bunting, M. F. (2014). Alternatives to switch-cost scoring in the task-switching paradigm: Their reliability and increased validity. Behavior Research Methods, 46(3), 702–721. https://doi.org/10.3758/s13428-013-0411-5