add_residual {dRiftDM} | R Documentation |
Convolute the First Passage Times with the Non-Decision Time Distribution
Description
Calls stats::convolve for the first passage times and the non-decision time distribution to derive the full distribution of response times. Before convolution, I add the robustness parameter.
Usage
add_residual(pdf_nt, pdf_u, pdf_l, dt, nt)
Arguments
pdf_nt |
the non-decision time density values |
pdf_u , pdf_l |
the first passage times |
dt , nt |
step size and number of steps for the time space (for input checks and scaling) |
Value
a list of PDFs for one condition "pdf_u" and "pdf_l"
[Package dRiftDM version 0.2.2 Index]