Learn R Programming

TestDesign (version 1.7.0)

addSolutionToConstraintData: (Internal) Count number of items in a solution that match a constraint

Description

addSolutionToConstraintData is an internal function for counting the number of items in a solution that match a constraint.

Usage

addSolutionToConstraintData(x, attrib, item_idx, all_values)

Value

addSolutionToConstraintData 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.

all_values

for set-based assembly, TRUE returns all values for each set, FALSE returns descriptive statisistics.