View source: R/DiffusionLiteralPlot.R
This function constructs a diffusion model plot. It shows average parameter values.
1 2 3 4 5 6 7 8 | diffPlot(v, z, t0, a, zr, sv, szr, st0, ymin = NULL, ymax = NULL,
tmin = NULL, tmax = NULL, tExtFactor = 1.2, topRTs = NULL,
bottomRTs = NULL, topLab = NULL, bottomLab = NULL, aLty = 2,
aLwd = 1, aCol = "gray", vLty = 1, vLwd = 2, vCol = "blue",
vLength = 0.2, vAngle = 20, vCode = 2, t0Lty = 1, t0Lwd = 1,
t0Col = "magenta", t0Length = 0.1, t0Angle = 90, t0Code = 3,
xlab = "time (seconds)", ylab = "evidence", main = "",
tLimit = 2.5, plotDensities = F, plotRtPts = F)
|
v |
The drift rate. |
z |
The starting point. Note that it is in the metric with a range 0 to
|
t0 |
Nondecision time. |
a |
Threshold value. |
zr |
Relative starting point. Used if |
sv |
Variability of the drift rate. |
szr |
Variability of the relative starting point. |
st0 |
Variability of nondecision time. |
ymin |
Y (evidence) axis minimum value. |
ymax |
Y (evidence) axis maximum value. |
tmin |
Minimum time value to show. |
tmax |
Maximum time value to show. |
tExtFactor |
|
topRTs |
|
bottomRTs |
|
topLab |
|
bottomLab |
|
aLty |
|
aLwd |
|
aCol |
|
vLty |
|
vLwd |
|
vCol |
|
vLength |
|
vAngle |
|
vCode |
|
t0Lty |
|
t0Lwd |
|
t0Col |
|
t0Length |
|
t0Angle |
|
t0Code |
|
xlab |
|
ylab |
|
main |
|
tLimit |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.