aevacc2_by_trial: Simulate aDDM process (by trial, 2 items)

Description Usage Arguments Value Author(s)

Description

Simulate aDDM process by unique trial (2 items) aevacc2_by_trial()

Usage

1
2
3
aevacc2_by_trial(parameters, maxdur = 0L, mindur = 0L, cur_decision = 0L,
  update = 0L, nr_attributes = 0L, fixpos = 0L, fixdur = 0L,
  nr_reps = 0L, timestep = 0L)

Arguments

parameters

vector that stores the parameters used for the simulations (Order: [non.decision.time, drift, sd, theta])

maxdur

numeric variable that supplies the maximum reaction time considered a success in simulations

mindur

numeric variable that supplies the minimum reaction time considered a succes in simulations

cur_decision

numeric variable that provides the empirical decision taken in trial

update

Vector that stores the item valuations for the trial conditon simulated

nr_attributes

placeholder for interface consistency / see multiattribute versions for specification

fixpos

Vector that stores the locations for a supplied fixed fixation pathway

fixdur

Vector that stores the fixation durations for a supplied fixed fixation pathway

nr_reps

number of repitions (simulation runs)

timestep

timestep in ms associated with each step in the drift diffusion process

cur_maxfix

integer that provides number of fixation in trial

Value

numeric variable that provides a success count (runs that predicted a reaction time in the correct rt-bin and simultaneously the correct decision)

Author(s)

Alexander Fengler, alexanderfengler@gmx.de


AlexanderFengler/addmtoolbox documentation built on May 5, 2019, 4:53 a.m.