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