$,Item-method | R Documentation |
Item-class
object.Get slots from an Item-class
object.
## S4 method for signature 'Item'
x$name
x |
An |
name |
Name of the parameter. Available values:
|
This operation will return the desired slot.
Emre Gonulates
item1 <- item(model = "3PL", item_id = 'item23', content = 'Geometry',
misc = list(enemies = c("item1", "item2"), key = "C"),
parameters = list(b = 2, c = .12, a = 1.2, D = 1))
# Get individual parameters
item1$a
item1$b
item1$D
# Get item 'model'
item1$model
# Get all parameters
item1$parameters
# Get item ID
item1$item_id
# Get item content
item1$content
# Get misc values
item1$misc
# Get maximum possible score of item
item1$max_score
# Get elements of misc directly:
item1$misc$key # "C"
item1$key # "C"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.