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

Description Usage Arguments

View source: R/RcppExports.R

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

1
2
3
4
5
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?


ggdmc documentation built on Sept. 2, 2018, 1:03 a.m.