rlba_norm: Generate Random Deviates of the LBA Distribution

Description Usage Arguments Value

View source: R/RcppExports.R

Description

rlba_norm, only slightly faster than maker, calls C++ function directly.

Usage

1
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).


ggdmc documentation built on May 2, 2019, 9:59 a.m.