accuracy_d: Determine accuracy d'

Description Usage Arguments Value Author(s)

Description

Determine accuracy d'

Usage

1
2
accuracy_d(option.tab, loglinear = TRUE, aggregateBy = c("id"),
  colnames = c("hit_by_option", "false_alarm_by_option"))

Arguments

option.tab

A long table containing DOMC response data by response option (created by 'get_item_table(response_data, IDs, by_option = TRUE)')

loglinear

Boolean; should a loglinear correction be applied (defaults to 'TRUE')

aggregateBy

Must be 'c("option", "id")', '"option"', or '"id"'. Determines what variables the yes-rate is aggregated over; the default is ‘c("id")' in which case d’ is computed for each test-taker across all decisions.

colnames

Indicates the names of the columns containing the hits and false alarms in 'long.tab'

Value

A data.frame in long format where each row contains a measure of the accuracy parameter.

Author(s)

Martin Papenberg martin.papenberg@hhu.de


m-Py/DOTA2 documentation built on May 19, 2019, 3 a.m.