cash-Response_set-method: Get slots of the a 'Response_set-class' object.

$,Response_set-methodR Documentation

Get slots of the a Response_set-class object.

Description

Get slots of the a Response_set-class object.

Usage

## S4 method for signature 'Response_set'
x$name

Arguments

x

An Response_set-class object.

name

Name of the parameter. Available values:

'response_list'

Extract Response objects as a list.

'item_id'

Extract unique list of item IDs that are in the response set.

'testlet_id'

Extract unique list of testlet IDs that are in the response set.

'misc'

Extract 'misc' field.

'score'

Return a score matrix of responses

'raw_response'

Return a raw score matrix of responses

Value

See the 'name' argument above for possible return values.

Author(s)

Emre Gonulates

Examples

resp <- sim_resp(ip = generate_ip(), theta = rnorm(5),
                 output = "response_set")
resp$response_list


irt documentation built on Nov. 10, 2022, 5:50 p.m.