rawScore: rawScore

View source: R/generateHelpers.R

rawScoreR Documentation

rawScore

Description

returns the adjusted (for zero and perfects) and unadjusted raw scores as well as the maximum score.

Usage

rawScore(x, itemParams, perfAdjust = 0.3)

Arguments

x

a vector of scored item responses. Order of item responses is the same as the order of itemParams, missing item responses are scored NA.

itemParams

A list of item params of the structure used in simplef (a matrix of k categories by three (category score, delta dot, tau)). See conquestr::makeItemList for a helper to generate this list.

perfAdjust

the correction factor for zeros and perfects to be add/subtracted from the raw score.

Value

a list containing three elements: (1) raw score (unadjusted), (2) raw score (adjusted), (3) maximum score.


conquestr documentation built on March 31, 2023, 6:02 p.m.