add_misc {irt}R Documentation

Add or change a named value to 'misc' slot of an Item-class, Itempool-class or Testlet-class object.

Description

Add or change a named value to 'misc' slot of an Item-class, Itempool-class or Testlet-class object.

Usage

add_misc(ip, value)

## S4 method for signature 'Item'
add_misc(ip, value)

## S4 method for signature 'Testlet'
add_misc(ip, value)

## S4 method for signature 'Itempool'
add_misc(ip, value)

Arguments

ip

An Item-class, Testlet-class or Itempool-class object.

value

A list where each element should be named. Elements within the list will be added to 'misc' slot.

Value

An object with added 'misc' slot.

Author(s)

Emre Gonulates

Examples

item <- item(b = 1)
add_misc(item, list(sympson_hetter_k = .75))


[Package irt version 0.2.9 Index]