View source: R/eligibility_functions.R
applyFading | R Documentation |
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
:
applyFading(exposure_record, segments_to_apply, simulation_constants)
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. |
applyFading
returns an updated exposure record.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.