Calculates the partial derivative of the firstpassage time diffusion probability density function (PDF) and cumulative distribution function (CDF) with respect to the firstpassage time t (only for PDF), the upper barrier a, the drift rate v, the relative starting point w, the nondecision time t0, the intertrial variability of the drift rate sv, the intertrial variability of the rel. starting point sw, and the intertrial variability of the nondecision time st0. In addition the PDF and CDF themselves are also provided. Most calculations are done on the logarithmic scale to make it more stable. Since the PDF, CDF, and their derivatives are represented as infinite series, we give the user the option to control the approximation errors with the argument 'precision'. For the numerical integration we used the C library cubature by Johnson, S. G. (20052013) <https://github.com/stevengj/cubature>. Numerical integration is required whenever sv, sw, and/or st0 is not zero. Note that numerical integration reduces speed of the computation and the precision cannot be guaranteed anymore. Therefore, whenever numerical integration is used an estimate of the approximation error is provided in the output list.
Package details 


Author  Raphael Hartmann [aut, cre], Karl C. Klauer [cph, aut, ctb, ths], Steven G. Johnson [ctb], Jean M. Linhart [ctb], Brian Gough [ctb], Gerard Jungman [ctb], Rudolf Schuerer [ctb], Przemyslaw Sliwa [ctb], Jason H. Stover [ctb] 
Maintainer  Raphael Hartmann <raphael.hartmann@protonmail.com> 
License  GPL (>= 2) 
Version  0.22 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.