Learn R Programming

ggdmc (version 0.2.5.2)

n1PDF_gpu: A Rcpp connection to the GPU-based LBA n1PDF in ppda package

Description

This is an Rcpp function calling a n1PDF_gpu function defined in the global environment, which connects to an interanl ppda simulated-based LBA density function.

Usage

n1PDF_gpu(x, A, b, mean_v, sd_v, t0, n, nthread, gpuid, bw, debug)

Arguments

x

response time vector

A

start point variability

b

threshold

mean_v

mean drift rate vector

sd_v

standard deviation of the drift rates

t0

nondecision time

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?