Algorithms: AAT score computation algorithms

Description Usage Arguments Value

Description

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
aat_doublemeandiff(ds, subjvar, pullvar, targetvar, rtvar, ...)

aat_doublemediandiff(ds, subjvar, pullvar, targetvar, rtvar, ...)

aat_dscore(ds, subjvar, pullvar, targetvar, rtvar, ...)

aat_dscore_multiblock(ds, subjvar, pullvar, targetvar, rtvar, blockvar, ...)

aat_regression(ds, subjvar, formula, aatterm, ...)

aat_standardregression(ds, subjvar, formula, aatterm, ...)

aat_doublemedianquotient(ds, subjvar, pullvar, targetvar, rtvar, ...)

aat_doublemeanquotient(ds, subjvar, pullvar, targetvar, rtvar, ...)

aat_singlemeandiff(ds, subjvar, pullvar, rtvar, ...)

aat_singlemediandiff(ds, subjvar, pullvar, rtvar, ...)

Arguments

ds

A long-format data.frame

subjvar

Column name of the participant identifier variable

pullvar

Column name of the movement variable (0: avoid; 1: approach)

targetvar

Column name of the stimulus category variable (0: control stimulus; 1: target stimulus)

rtvar

Column name of the reaction time variable

...

Other arguments passed on by functions (ignored)

blockvar

name of the variable indicating block number

formula

A regression formula to fit to the data to compute an AAT score

aatterm

A character naming the formula term representing the approach bias. Usually this is the interaction of the movement-direction and stimulus-category terms.

Value

A data.frame containing participant number and computed AAT score.


AATtools documentation built on July 1, 2020, 8:45 p.m.