c,Item-method {irt} | R Documentation |
Concatenate Item
, Itempool
or Testlet
objects and
return an Itempool object.
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
## 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 |
... |
Additional arguments |
Value
An Itempool-class
object.
A Response_set-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)
# 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)
[Package irt version 0.2.9 Index]