Learn R Programming

irt (version 0.1.1)

get_cat_administered_items: Get administered items from a CAT output

Description

This function returns an item pool object of the administered items using the items in estimate history. If there is one

Usage

get_cat_administered_items(cat_sim_output)

Arguments

cat_sim_output

This is a list object containing elements that are "cat_output" class.

Value

For cat_output with only one adaptive test, an Itempool class object will be returned. For cat_output with more than one adaptive tests, a list of Itempool class objects will be returned.

Examples

Run this code
# NOT RUN {
cd <- create_cat_design(ip = generate_ip(n = 30), next_item_rule = 'mfi',
                        termination_rule = 'max_item',
                        termination_par = list(max_item = 10))
cat_data <- cat_sim(true_ability = rnorm(10), cd = cd)
get_cat_administered_items(cat_data)
# }

Run the code above in your browser using DataLab