get_cat_administered_items: Get administered items from a CAT output

View source: R/cat_sim_helper_functions.R

get_cat_administered_itemsR Documentation

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.

Author(s)

Emre Gonulates

Examples

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)

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