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

View source: R/constraint_functions.R

addSolutionToConstraintDataR Documentation

(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)

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.

Value

addSolutionToConstraintData returns an updated data.frame.


choi-phd/TestDesign documentation built on Oct. 1, 2024, 2:37 a.m.