criterion_c: Determine response criterion c by option position per...

Description Usage Arguments Value Author(s)

Description

Determine response criterion c by option position per test-taker

Usage

1
2
criterion_c(option.tab, loglinear = TRUE, aggregateBy = c("option_position",
  "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 which is *strongly* recommended to compute response criteria)

aggregateBy

Must be 'c("option_position", "id")', '"option_position"', or '"id"'. Determines what variables the yes-rate is aggregated over; the default is 'c("option_position", "id")' in which case the response criterion is computed for each test-taker by option.

colnames

What are the columns containing hit and false alarm scores called? Generally the default should not be changed.

Value

A data.frame in long format where each row contains a measure of the response criterion.

Author(s)

Martin Papenberg martin.papenberg@hhu.de


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