itemmean {classicaltest} | R Documentation |
Item mean scores
Description
Calculates the item mean scores.
Usage
itemmean(x, wt = NULL)
Arguments
x |
a data frame or matrix of scored data. |
wt |
a vector with total weights. Default is |
Value
a data frame.
Examples
# No weights
ex <- correct(x = dichodata, key = dichokey, navalue = NA)
itemmean(ex)
# With weights
set.seed(1919)
wt <- sample(x = 1:4, size = nrow(dichodata), replace = TRUE)
itemmean(ex,wt = wt)
[Package classicaltest version 0.7.5 Index]