testlet | R Documentation |
Testlet-class
objectCreate a Testlet-class
object. It is recommended
to use this function to create new Testlet-class
objects.
testlet(...)
... |
The object that is desired to be converted to a |
An Testlet-class
object.
Emre Gonulates
ip <- itempool(a = c(1, 1.4), b = c(-2, 1))
testlet(ip, testlet_id = "T1")
testlet(ip, testlet_id = "T1", content = "Algebra")
# Add misc field to the testlet:
testlet(ip, testlet_id = "T1", misc = list(form = "A1", operational = TRUE,
admin_date = as.Date("2020-08-01")))
# Add misc field to the testlet items:
testlet(itempool(b = rnorm(2), item_id = paste0("t1-i", 1:2),
misc = list(list(sympson_hetter_k = .8, form = "B1"),
list(sympson_hetter_k = .9))),
testlet_id = "t1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.