applyFading: (Internal) Apply fading to exposure record

View source: R/eligibility_functions.R

applyFadingR Documentation

(Internal) Apply fading to exposure record

Description

applyFading is an internal function for applying fading to exposure record. Specifically, the following exposure records are multiplied by fading_factor:

  • n_k: the number of examinees completed the test so far, at each segment k.

  • f_k:

  • a_ik: the number of times each item i was administered to examinees, at each segment k

  • r_ik:

Usage

applyFading(exposure_record, segments_to_apply, simulation_constants)

Arguments

exposure_record

a named list containing exposure records.

segments_to_apply

which segments to apply fading to.

simulation_constants

a named list containing simulation constants.

Value

applyFading returns an updated exposure record.


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