powered by
Testlet-class
Access slots of a Testlet-class object
# S4 method for Testlet $(x, name)
A Testlet-class object from which to extract element(s) or in which to replace element(s).
Name of the parameter. Available values:
'id'
Get the id of the testlet
id
'content'
Get the content of the testlet.
content
'model'
Get the model of the testlet.
model
'item_models'
Get the model of the items within the testlet.
'parameters'
Get the parameters of the testlet.
parameters
'se_parameters'
Get the se_parameters of the testlets.
se_parameters
'item_list'
Get the list of Item-class objects of the testlet. Returns a list.
Item-class
This operation will return the desired slot.
# NOT RUN { t1 <- testlet(generate_ip(n = 3), id = "my-testlet", content = "Algebra") t1$model t1$id t1$item_list t1$content t1$item_models # }
Run the code above in your browser using DataLab