Description Usage Arguments Value Author(s)
Preprocess experimental data for easy usage with addmtoolbox package
addm_preprocess()
1 2 3 | addm_preprocess(choice.dat = data.table(v1 = 0, v2 = 0, id = 0, rt = 0,
decision = 0, id = 0), eye.dat = data.table(fixloc = 0, fixnr = 1, fixdur =
0, id = 0), timestep = 10, rtbinsize = 100)
|
choice.dat |
data.frame or data.table storing the item valuations (v1,v2...) , reaction times in ms (rt), decisions (decision) and a trial id column (id). |
eye.dat |
A data.frame or data.table storing eyetracking data by trial. Fixation location (fixloc), Fixation number (fixnr), Fixation duration (fixdur) and a trial id column (id). Can all be initialized as zero columns when a by condition fit is attempted. |
timestep |
integer that provides the timestep-size that is used in the simulations (in ms). |
rtbinsize |
integer that provides the binsize that is used for binning reaction time data (in ms). |
fit.type |
string defined as 'condition' or 'trial' for the respective model fits |
list of three components. data.table that stores all unique choice set conditions. data.table that stores eyetracking.data adjusted to be usable for by trial fits. data.table that stores by trial choice data. trial id and condition id variable link all data.tables
Alexander Fengler, alexanderfengler@gmx.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.