View source: R/constraint_functions.R
addScoreToConstraintData | R Documentation |
addScoreToConstraintData
is an internal function for
summing the score of items in a solution that match a constraint.
addScoreToConstraintData(x, attrib, item_idx, item_resp, item_ncat)
x |
a |
attrib |
an |
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. |
addScoreToConstraintData
returns an updated data.frame
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.