$<-,Response-method | R Documentation |
Set values to components of 'Response' class objects
## S4 replacement method for signature 'Response'
x$name <- value
x |
|
name |
Name of the parameter or component. Following are available:
|
value |
The new value that will be assigned. |
This operation will return an Response-class
object.
Emre Gonulates
resp <- response(score = c(0, 1, 0))
resp
resp$examinee_id <- "Stu-123"
resp$item_id <- c("i14", "i4", "i9")
resp$raw_response <- c("D", "D", "C")
resp$order <- c(4L, 3L, 1L)
resp$misc <- list(Form = "A1", operational = c(TRUE, TRUE, FALSE))
resp
# Add any other named element:
resp$content <- c("Alg", "Alg", "Geo")
resp
resp$misc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.