Description Usage Arguments Examples
This is a convenience wrapper function for the EZ-diffusion model.
1 | ez_diffusion_model(data, id, rt, correct, within = NULL, s = 0.1)
|
data |
A |
id |
Character. The name of the variable that contains the participant identifier. |
rt |
Character. The name of the variable that contains the reaction times. |
correct |
Character. The name of the variable that codes correct vs. erroneous decision. Needs to be 0 = erroneous and 1 = correct. |
within |
Character. Possibly a vector of names of variables that contain within-subjects factors. |
s |
Numeric. An optional scaling constant. |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.