rlba_norm: Generate Random Responses of the LBA Distribution

View source: R/RcppExports.R

rlba_normR Documentation

Generate Random Responses of the LBA Distribution

Description

rlba_norm used the LBA process to generate response times and responses.

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

non-decision time, a vector.

st0

non-decision time variation, a vector.

posdrift

if exclude negative drift rates

Value

a n x 2 matrix of response time (first column) and responses (second column).


ggdmc documentation built on April 13, 2025, 5:09 p.m.