get_max_possible_total_score {irt} | R Documentation |
Calculate the maximum score of a set of items
Description
Calculate the maximum score of a set of items
Usage
get_max_possible_total_score(ip, resp = NULL)
Arguments
ip |
An |
resp |
(optional) A response vector or a response matrix. The contents
are not important. The function only checks whether an element is missing
or not. If an element is missing, then that item will not count towards
the maximum possible score. If the maximum score of all items are needed,
set |
Value
A vector of numbers showing the maximum possible scores.
Author(s)
Emre Gonulates
Examples
ip <- generate_ip(n = 10)
get_max_possible_total_score(ip)
# A mixture of dichotomous and polytomous items
ip <- generate_ip(model = c("3PL", "GRM", "3PL", "GRM", "GRM"),
n_categories = c(2, 5, 2, 4, 6))
# 1 + 4 + 1 + 3 + 5 = 14
get_max_possible_total_score(ip)
[Package irt version 0.2.9 Index]