tau2zero | R Documentation |
Setting process completion times (taus) to zero or change it back to be estimated.
tau2zero(model, names, outcomes, values = 0) set_tau_zero(model, names, outcomes, values = 0)
model |
A list of the class |
names |
Character vector with process names. |
outcomes |
Character vector of length
|
values |
Numerical vector of length one or
|
A list of the class rtmpt_model
.
Raphael Hartmann
delta2delta
, theta2const
, theta2theta
and tau2tau
#################################################################################### # Detect-Guess variant of the Two-High Threshold model. # The encoding and motor execution times are assumed to be equal for each category. # The process completion times for both failed detections will be suppressed. #################################################################################### mdl_2HTM <- " # targets do+(1-do)*g (1-do)*(1-g) # lures (1-dn)*g dn+(1-dn)*(1-g) # do: detect old; dn: detect new; g: guess " model <- to_rtmpt_model(mdl_file = mdl_2HTM) ## removing the process times (tau) for the failed (="minus") detection ("do" and "dn") new_model <- tau2zero(model = model, names = c("dn", "do"), outcomes = c("minus", "minus"), values = 0) new_model ## removing the process times (tau) for the failed (="minus") detection ("do" and "dn") new_model <- set_tau_zero(model = model, names = c("dn", "do"), outcomes = c("minus", "minus"), values = 0) new_model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.