Learn R Programming

splithalf (version 0.8.2)

testretest.multiverse: Multiverse of data processing decisions on test retest reliability estimates.

Description

This function enables the user to run a multiverse of data processing options and extract the resulting test-retest reliability estimates. The user specifies a set of data processing decisions and passes this to the function, along with specifying key variables within several "var." inputs (so that the function knows where to find your participant ids and RTs for example)

Usage

testretest.multiverse(
  data,
  specifications,
  test = "ICC2",
  outcome = "RT",
  score = "difference",
  var.participant = "subject",
  var.ACC = "correct",
  var.RT = "RT",
  var.time = "time",
  var.compare = "congruency",
  compare1 = "Congruent",
  compare2 = "Incongruent"
)

Value

Returns a multiverse object containing the reliability estimates and dataframes from all data processing specifications provided

Arguments

data

dataset

specifications

list of data processing specifications

test

test retest statistic, "ICC2", "cor", "ICC3"

outcome

from splithalf() specifies the RT outcome - only "RT" available currently

score

currently only "difference" scores are supported

var.participant

= "subject",

var.ACC

= "correct",

var.RT

= "RT"

var.time

codes the time variable (currently only works for 2 timepoints)

var.compare

= "congruency" trial type used to create difference scores

compare1

specifies the first trial type to be compared (e.g. "Congruent" trials)

compare2

specifies the second trial type to be compared (e.g. "Incongruent" trials)

Details

The (unofficial) function version name is "This function will help you pay the troll toll"