Wiener | R Documentation |
Density function and random generation for the Wiener
diffusion model distribution with boundary separation alpha
,
non-decision time tau
, bias beta
and
drift rate delta
.
dwiener(
x,
alpha,
tau,
beta,
delta,
resp = 1,
log = FALSE,
backend = getOption("wiener_backend", "Rwiener")
)
rwiener(
n,
alpha,
tau,
beta,
delta,
types = c("q", "resp"),
backend = getOption("wiener_backend", "Rwiener")
)
x |
Vector of quantiles. |
alpha |
Boundary separation parameter. |
tau |
Non-decision time parameter. |
beta |
Bias parameter. |
delta |
Drift rate parameter. |
resp |
Response: |
log |
Logical; If |
backend |
Name of the package to use as backend for the computations.
Either |
n |
Number of draws to sample from the distribution. |
types |
Which types of responses to return? By default,
return both the response times |
These are wrappers around functions of the RWiener or rtdists
package (depending on the chosen backend
). See
vignette("brms_families")
for details on the parameterization.
wienerdist
,
Diffusion
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.