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

Math libraries and example code for the linear ballistic accumulator model

The libraries on this page implement the linear ballistic accumulator model of Brown and Heathcote (2008). They are intended for use with the R programming language To use them, simply load the functions from this main file lba.r into any R session. Do that by either copying and pasting from the file into a command window, or by issuing the command source("lba.r"), after putting the file lba.r in your current working directory.

Some examples using the code are in examples.r. These reproduce some of the figures from the main paper.

Note that, in some browsers, you may need to right-click and "save as" when downloading the files lba.r and examples.r.