Description Usage Arguments Value References Examples
View source: R/utility_functions.R
Estimates the drift rate, boundary separation, and non-decision time for a two-boundary wiener process with an equidistant starting point using a R function adapted from Wagenmaker et al. (2007).
1 | EZdiffusion(dat, s = 1)
|
dat |
a vector of inputs:
|
s |
the scaling parameter (typically set to either 0.1 or 1) |
An estimate of the drift rate, boundary separation, and non-decision time. Bias is fixed to 0.5.
Wagenmakers, E. J., Van Der Maas, H. L., & Grasman, R. P. (2007). An EZ-diffusion model for response time and accuracy. Psychonomic bulletin & review, 14, 3-22. https://doi.org/10.3758/BF03194023.
1 2 | x = c( N = 100, Correct = 80, MRT = .8, VRT = .4^2 )
EZdiffusion( x )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.