View source: R/eligibility_functions.R
applyEligibilityConstraintsToInfo | R Documentation |
applyEligibilityConstraintsToInfo
is an internal function for modifying item information using eligibility constraints.
This is known as the big M method.
The function penalizes item information of items that are marked as ineligibile.
This leads to those items being deterred from selected in shadowtest assembly, unless necessary.
applyEligibilityConstraintsToInfo(
info,
eligibility_flag_in_current_theta_segment,
config,
simulation_constants
)
info |
a length-ni vector containing item information on each item, intended for shadow-test assembly. |
eligibility_flag_in_current_theta_segment |
a list containing eligibility flags for the current theta segment. |
config |
a |
simulation_constants |
a named list containing simulation constants. |
applyEligibilityConstraintsToInfo
returns an updated item information vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.