Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ggdmc (version 0.2.5.2)

n1PDF_plba0_gpu: A Rcpp connection to the GPU-based PLBA n1PDF type 0 and type 1

Description

This is an Rcpp function calling a n1PDF_plba0_gpu function defined in the global environment, which connect to an interanl ppda simulated-based PLBA density function.

Usage

n1PDF_plba0_gpu(x, A, b, mean_v, sd_v, t0, mean_w, rD, swt, n, nthread,
  gpuid, bw, debug)

n1PDF_plba1_gpu(x, A, b, mean_v, sd_v, t0, mean_w, rD, swt, n, nthread, gpuid, bw, debug)

Arguments

x

response time vector

A

start point variability

b

threshold

mean_v

mean drift rate vector for the first piece of evidence accumulation.

sd_v

standard deviation of the drift rates

t0

nondecision time

mean_w

mean drift rate vector for the second piece of evidence accumulation.

rD

rate delay time (s)

swt

switch time (s)

n

number of simulations

nthread

thread number to launch in GPU

gpuid

which gpu card to use, starting from 0.

bw

kernel bandwidth

debug

debugging?