get_response_table: Creates a table in long format representing the test response...

Description Usage Arguments Value Author(s)

Description

Creates a table in long format representing the test response data

Usage

1
2
get_response_table(response_data, test_taker_IDs, by_option = FALSE,
  item_IDs = NULL, item_prefix = "item")

Arguments

response_data

A vector of Unipark-exported test data strings

test_taker_IDs

A vector of unique IDs identifying each each test-taker (the order must correspond to the order of response data in 'response_data')

by_option

Boolean. Indicates whether response data should be returned on item level or - if set to 'TRUE' - on option level

item_IDs

A numeric vector corresponding to the IDs of all items in the test. Do not change the default value 'NULL' if response data should be read for all items (i.e. in most cases).

item_prefix

By default it is assumed that each item has a name of the type "itemx" where x is the ID of the item. If the prefix is anything other than "item", change the default value of this argument; this should not be necessary in most cases!

Value

A ‘data.frame' in long format containing test-takers’ response data. Columns include the correctness of responses, response times, and other information. Each row represents the processing of an item (if 'by_option' was 'FALSE') of the processing of a single option (if 'by_option' was 'TRUE').

Author(s)

Martin Papenberg martin.papenberg@hhu.de


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