rlba_norm {ggdmc} | R Documentation |
Generate Random Deviates of the LBA Distribution
Description
rlba_norm
, only slightly faster than maker
, calls C++
function directly.
Usage
rlba_norm(n, A, b, mean_v, sd_v, t0, st0, posdrift)
Arguments
n |
is the numbers of observation. |
A |
start point upper bound, a vector of a scalar. |
b |
decision threshold, a vector or a scalar. |
mean_v |
mean drift rate vector |
sd_v |
standard deviation of drift rate vector |
t0 |
nondecision time, a vector. |
st0 |
nondecision time variation, a vector. |
posdrift |
if exclude negative drift rates |
Value
a n x 2 matrix of RTs (first column) and responses (second column).
[Package ggdmc version 0.2.6.0 Index]