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

Description Usage Arguments Value Author(s) Examples

Description

Get slots of the a Response_set-class object.

Usage

1
2
## 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

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

irt documentation built on Nov. 9, 2021, 9:07 a.m.