A named vector with the difficulty estimate per item with
length(items) elements.
Arguments
items
A character vector containing names of items to be
included into the D-score calculation. Milestone scores are coded
numerically as 1 (pass) and 0 (fail). By default,
D-score calculation is done on all items found in the data
that have a difficulty parameter under the specified key.
key
String. Name of the key that bundles the difficulty estimates
pertaining one the same Rasch model. View builtin_keys for an overview
of the available keys.
itembank
A data.frame with at least two columns
named item and tau. By default, the function uses
dscore::builtin_itembank. If you specify your own itembank,
then you should also provide the relevant transform and qp arguments.