IAT_rel: IAT reliability

Description Usage Arguments Value Examples

View source: R/IAT_rel.R

Description

Compute the practice – test IAT reliability.

Usage

1

Arguments

data

dataframe with class "dscore" (Gawronski et al., 2017).

Value

List of two objects:

Test-practice reliability

contains the IAT reliability.

Number of Participants

Contains the number of participants on which the reliability was computed.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# compute D-score 2 for the IAT data ###
  data("raw_data") # import data
  iat_cleandata <- clean_iat(raw_data, sbj_id = "Participant",
                          block_id = "blockcode",
                          mapA_practice = "practice.iat.Milkbad",
                          mapA_test = "test.iat.Milkbad",
                          mapB_practice = "practice.iat.Milkgood",
                          mapB_test = "test.iat.Milkgood",
                          latency_id = "latency",
                          accuracy_id = "correct",
                          trial_id = "trialcode",
                          trial_eliminate = c("reminder", "reminder1"),
                          demo_id = "blockcode",
                          trial_demo = "demo")
  iat_data <- iat_cleandata[[1]]
# calculate D-score
  iat_dscore <- compute_iat(iat_data,
                         Dscore =  "d2")
  IAT_rel(iat_dscore)

OttaviaE/implicitMeasures documentation built on Feb. 22, 2022, 2:05 p.m.