Learn R Programming

irt (version 0.1.1)

add_misc: 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 Item add_misc(ip, value)

# S4 method for Testlet add_misc(ip, value)

# S4 method for Itempool add_misc(ip, value)

Arguments

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.

Examples

Run this code
# NOT RUN {
item <- item(b = 1)
add_misc(item, list(sympson_hetter_k = .75))

# }

Run the code above in your browser using DataLab