get_tau {dscore} | R Documentation |
Obtain difficulty parameters from item bank
Description
Searches the item bank for matching items, and returns the difficulty estimates. Matching is done by item name. Comparisons are done in lower case.
Usage
get_tau(
items,
key = NULL,
itembank = dscore::builtin_itembank,
verbose = FALSE
)
Arguments
items |
A character vector containing names of items to be
included into the D-score calculation. Milestone scores are coded
numerically as |
key |
String. They key identifies 1) the difficulty estimates
pertaining to a particular Rasch model, and 2) the prior mean and standard
deviation of the prior distribution for calculating the D-score.
The default key |
itembank |
A |
verbose |
Logical. Print settings. |
Value
A named vector with the difficulty estimate per item with
length(items)
elements.
Author(s)
Stef van Buuren 2020
See Also
Examples
# difficulty levels in the GHAP lexicon
get_tau(items = c("ddifmd001", "DDigmd052", "xyz"))