diffPlot: Plotting the Diffusion Model

Description Usage Arguments

View source: R/DiffusionLiteralPlot.R

Description

This function constructs a diffusion model plot. It shows average parameter values.

Usage

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)

Arguments

v

The drift rate.

z

The starting point. Note that it is in the metric with a range 0 to a. Either this or zr must be given.

t0

Nondecision time.

a

Threshold value.

zr

Relative starting point. Used if z is missing, and should represent a proportion of the a distance.

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

Cmell/diffR documentation built on Feb. 11, 2020, 3:13 p.m.