Description Usage Arguments Value Author(s) Examples
Creates a list with one entry per item, where the name is the item id and the value is the correct response. The value can either be a single number, when there is only one correct answer, or a vector of two numbers, where the correct answer is within a range (Athena items for example)
1 | scoringKey(key.df)
|
key.df |
Data frame containing one column with item ID (named "id") and one column with the corresponding correct responses (named "key"). If the correct response is a range, use the following format: "RANGE: 1 - 1.1". |
List with one entry per item. The entry is named after the item id, and the value is the correct response to the item.
Morgan Strom
1 2 3 4 | df <- data.frame(id = c("item_1", "item_2", "item_3"),
key = c("2", 3, "RANGE: 1 - 1.1"))
scoringKey(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.