Learn R Programming

dscore (version 1.2.0)

get_itemtable: Get a subset of items from the itemtable

Description

The builtin_itemtable object in the dscore package contains basic meta-information about items: a name, the equate group, the instrument, the domain and the item label. The get_itemtable() function returns a subset of items in the itemtable.

Usage

get_itemtable(items = NULL, itemtable = NULL)

Arguments

items

A logical or character vector of item names to return. The default (NULL) returns all items.

itemtable

A data.frame set up according to the same structure as builtin_itemtable(). If not specified, the builtin_itemtable is used. If itemtable = "", then a dynamic item table is created from any specified item names.

Value

A data.frame with seven columns.

See Also

get_labels(), get_itemnames()

Examples

Run this code
# NOT RUN {
head(get_itemtable(), 3)
get_itemtable(LETTERS[1:3], "")
# }

Run the code above in your browser using DataLab