$<-,Testlet-method | R Documentation |
Testlet-class
objectSet values to parameters or components of Testlet-class
object
## S4 replacement method for signature 'Testlet' x$name <- value
x |
An |
name |
Name of the parameter or component. |
value |
The new value that will be assigned. |
This operation will not return anything.
Emre Gonulates
tlt <- generate_testlet() tlt$testlet_id <- "New-Testlet-ID-111" tlt$content <- "Algebra" # Set all misc fields like this tlt$misc <- list(passage_text = "This is a reading passage.", passage_lexile = 450) tlt$passage_text # Add a misc field tlt$passage_language <- "En-US" # Remove a misc field tlt$passage_language <- NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.