[[<-,Response_set,numeric,missing-method {irt} | R Documentation |
Set the elements of an Response_set
objects.
Description
Set the elements of an Response_set
objects.
Usage
## S4 replacement method for signature 'Response_set,numeric,missing'
x[[i, j]] <- value
Arguments
x |
|
i |
indices specifying elements to extract or replace. |
j |
This will not be used in |
value |
An |
Value
An updated Response_set-class
object.
Author(s)
Emre Gonulates
Examples
resp_set <- sim_resp(ip = generate_ip(n = 12), theta = rnorm(10),
output = "response_set")
r1 <- response(score = c(0, 1), examinee_id = "Stu-22",
item_id = c("Item_1", "Item_2"))
resp_set[[2]] <- r1
[Package irt version 0.2.9 Index]