Learn R Programming

ggdmc (version 0.2.5.2)

rca: Generate random number from a correlated accumulator model

Description

Generate random number from a correlated accumulator model

Usage

rca(n, A, b, t0, mean_v, sd_v, st0 = 0, corr_v = 0,
  return_ttf = FALSE)

Arguments

n

a data frame stored data

A

start point variability

b

threshold

t0

nondecision time

mean_v

mean drift rate vector for the first piece of evidence accumulation

sd_v

standard deviation of the drift rates

st0

nondecision time variability

corr_v

correlation among accumulators

return_ttf

a boolean switch to return time to finish matrix