flagAdministeredAsEligible: (Internal) Update eligibility flags to mark administered...

View source: R/eligibility_functions.R

flagAdministeredAsEligibleR Documentation

(Internal) Update eligibility flags to mark administered items as eligible

Description

flagAdministeredAsEligible is an internal function for updating eligibility flags. Specifically, the function marks items/sets that are already administered to the current examinee as eligible. This is necessary to ensure already administered items/sets are included in the shadowtest.

Usage

flagAdministeredAsEligible(
  eligibility_flag_in_current_theta_segment,
  x,
  position,
  simulation_constants
)

Arguments

eligibility_flag_in_current_theta_segment

a list containing eligibility flags for the current theta segment.

x

an output_Shadow object, containing data for a single examinee.

position

the item position, ranging from 1 to test length.

simulation_constants

a named list containing simulation constants.

Value

flagAdministeredAsEligible returns an updated eligibility flag list.


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