c: Concatenate 'Item', 'Itempool' or 'Testlet' objects and...

Description Usage Arguments Value Author(s) Examples

Description

If the elements do not have ID fields, function will assign default names.

This function concatenates Response and/or Response_set objects and returns a Response_set-class object.

If the elements do not have examinee ID fields, function will assign default ids.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S4 method for signature 'Item'
c(x, ...)

## S4 method for signature 'Itempool'
c(x, ...)

## S4 method for signature 'Testlet'
c(x, ...)

## S4 method for signature 'Response'
c(x, ...)

## S4 method for signature 'Response_set'
c(x, ...)

Arguments

x

A list consist of Response-class or Response_set-class objects.

...

Additional arguments

Value

An Itempool-class object.

A Response_set-class object.

Author(s)

Emre Gonulates

Emre Gonulates

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
item1 <- item(a = 1.12, b = -2.1, c = 0.28)
item2 <- item(a = 2, b = 3.2, c = 0.21)

# Concatenate items
c(item1, item2)

ip <- itempool(a = c(1, 1.2), b = c(1, 2), c = c(.2, .4))
# Concatenate items and an Itempool object
c(item1, ip)
c(item1, item2, ip)
c(ip, item1, item2)

irt documentation built on Nov. 9, 2021, 9:07 a.m.