mixtur is an R package for designing, analysing, and modelling continuous report visual short-term memory studies. The package allows users to implement the 2-component (Zhang & Luck, 2008) and 3-component (Bays, Catalao, & Husain, 2009) mixture models of continuous-report visual short-term memory data. The package can also fit & simulate the slots and slots-plus averaging models of Zhang & Luck.
The package allows users to:
We have a pre-print showing users how to use the package:
The pre-print also includes several simulation studies exploring some properties of the models (including parameter recovery simulations, model recovery simulations) and provide concrete recommendations to researchers wishing to use mixture modelling in their own research.
To install the package from GitHub, you need the remotes package:
Then mixtur can be directly installed:
We are grateful to Ed. D.J. Berry who contributed to the package development.
Portions of the package code have been adapted from code written by Paul Bays in Matlab, with permission. We are extremely grateful to Paul Bays for this permission. See https://paulbays.com.
Bays, P. M., Catalao, R. F. G., & Husain, M. (2009). The precision of visual working memory is set by allocation of a shared resource. Journal of Vision, 9(10): 7, 1–11.
Zhang, W., & Luck, S. J. (2008). Discrete fixed-resolution representations in visual working memory. Nature, 453, 233–235.