sub-subset-Itempool-numeric-missing-method: Set the elements of an 'Itempool' objects.

[[<-,Itempool,numeric,missing-methodR Documentation

Set the elements of an Itempool objects.

Description

Set the elements of an Itempool objects.

Usage

## S4 replacement method for signature 'Itempool,numeric,missing'
x[[i, j]] <- value

Arguments

x

Itempool-class object.

i

indices specifying elements to extract or replace.

j

This will not be used in Itempool-class objects.

value

An Item-class or Testlet-class object.

...

Additional parameters to be passed to the function.

Value

An updated Itempool-class object.

Author(s)

Emre Gonulates

Examples

item1 <- item(a = 1.12, b = -2.1, c = 0.28)
item2 <- item(a = 2, b = 3.2, c = 0.21)
ip <- c(item1, item2)
item3 <- item(a = 1, b = -.2, c = 0.4)
ip[[2]] <- item3

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