# Error correction mechanisms in language learning This repository contains the R code for the analyses reported in: Ez-zizi, A., Divjak, D., and Milin, P. (2023). Error-correction mechanisms in language learning: modeling individuals. To appear in: *Language Learning*. "Data_train.csv" and "Data_test.csv" contains the data generated from the training and test phases of the language learning task. "Data_WM.csv", "Data_SRT.csv" and "Demographics.csv" contains the data generated from the working memory task, implicit learning task and the demographic questionnaire respectively. "events_abstract.csv" encodes the 29 abstract events used in the test phase and is needed for the analysis that compares the different learning strategies (see the section "Comparison_strategies" below).