Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

TestDesign (version 1.7.0)

addScoreToConstraintData: (Internal) Sum scores of items in a solution that match a constraint

Description

addScoreToConstraintData is an internal function for summing the score of items in a solution that match a constraint.

Usage

addScoreToConstraintData(x, attrib, item_idx, item_resp, item_ncat)

Value

addScoreToConstraintData returns an updated data.frame.

Arguments

x

a data.frame containing a single constraint data.

attrib

an item_attrib object.

item_idx

item indices in the solution.

item_resp

scores of items in the solution.

item_ncat

number of score categories of items in the solution.