New CL Logo

Newcastle Cognition Lab

Home | Members | Facilities & Projects | Publications | Data & Software

PUBLICATIONS

In Press
2008
2007
2006
2005
2004
2003
2002
2001
20th Century
Theses

Appendix A - RJM Simulation Code

You can download the code we used to simulate responses from the RJM here.
The code is plain text that will run in the R statistical language, available for free download from www.r-project.org. Simply copy and paste this code into a command window. Running the code will generate a simulated sequence of decision stimuli (stored in the vector "stims") and a corresponding sequence of simulated decisions from the RJM (stored in "resps"). Generating 1,000,000 simulated responses takes about one minute on a standard desktop PC.