is.Item {irt}R Documentation

Check whether an object is an Item-class

Description

Check whether an object is an Item-class

Check whether an object is an Itempool-class object

Check whether an object is a Testlet-class object

Usage

is.Item(x)

is.Itempool(x)

is.Testlet(x)

Arguments

x

an object that is checked for being a member of 'Testlet' class

Author(s)

Emre Gonulates

Examples

i1 <- item(a = 1, b = 2)
is.Item(i1)
# Alternatively:
is(i1, "Item")

# Not an item:
is.Item("abc")


[Package irt version 0.2.9 Index]