Description Usage Arguments Details Value See Also Examples
get_bs
returns the mean difference between congruent and incongruent
trials.
1 |
RT |
A numeric vector of reaction times in chronological order. |
congruent |
A logical vector equal in length to |
prior_weights |
Optional numeric vector of prior weights indicating the relative influence that each trial should have on the calculation of mean bias, in the event that there is reason to weight some trials more than others when calculating their mean. |
Attention bias tasks such as the dot probe consist of congruent trials
(CTs), in which the location of the probe matches the location of an
emotional stimulus, and incongruent trials (ITs), in which the location of
the probe matches the location of the neutral stimulus. get_bs
calculates a traditional bias score by taking the mean reaction time of all
CTs and subtracting it from the mean reaction time of all ITs, i.e.,
bias = IT - CT, with the option to use weighted means based on prior
trial weights.
A length-one numeric vector corresponding to the mean, or optionally weighted mean, bias score.
get_tlbs
for trial-level bias score
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.