Learn R Programming

irt (version 0.2.9)

$,Response_set-method: Get slots of the a Response_set-class object.

Description

Get slots of the a Response_set-class object.

Usage

# S4 method for Response_set
$(x, name)

Value

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

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

Author

Emre Gonulates

Examples

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

Run the code above in your browser using DataLab