trialWDM | R Documentation |
Estimates a set of Wiener Diffusion Model parameters for a vector of formatted
data. Estimation uses RWiener::wdm
and data must be formatted as a
1-dimensional vector according the to RWiener
package (i.e., RT * 2
* (boundary=='upper' - 0.5) ).
trialWDM(
dat,
fit_DR = T,
fit_BS = T,
fit_NDT = T,
fit_Bias = F,
winsorize = NA
)
dat |
Response time vector. Positive values indicates upper-boundary while negative values indicate lower-boundary. |
fit_DR |
Logical or numeric scalar. If |
fit_BS |
Logical or numeric scalar. If |
fit_NDT |
Logical or numeric scalar. If |
fit_Bias |
Logical or numeric scalar. If |
winsorize |
Optional numeric scalar. If supplied, then all univariate values greater than number of MAD from the median are changed to be instead that number of MAD from the median (using |
## Not run:
dat <- (rnorm(200,.2,.05) + rexp(200,1 / .2))*sample(c(-1,1,1),200,replace=T)
m <- trialWDM(dat)
m2 <- trialWDM(dat, fit_NDT = F , winsorize = 2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.