ABV: Calculates ABV-index

Description Usage Arguments See Also Examples

Description

ABV calculates Attention Bias Variability (ABV) index.

Usage

1
ABV(data, bin_width, ID, trial, grouping, value, label, type)

Arguments

data

A dataset in tabular format.

bin_width

Single integer value which gives the number of consecutive trials handled in one bin.

ID

A character vector identifying the name of column for subjects.

trial

A single character vector determining the name of your measured variable, like reaction time.

grouping

A list of strings determining by which cathegorical variable you would like to group your data.

value

A single character vector identifying the column containing your measured variable like reaction time as RT.

label

A single character vector identifying the column containing trial types.

type

A character vector identifying the names of your trial types. First column shall address incongruent trials.

See Also

winzer for winsorizing your data, shaker for reshape your data.

Examples

1
ABV(example2, grouping = c("year", "subject"), trial = "trial", bin_width = 3, value = "RT", label = "label", type = c("Incongruent", "Congruent"), ID = "subject")

TamasSmahajcsikszabo/REAC documentation built on May 23, 2019, 8:19 p.m.