incrementPhi {TestDesign}R Documentation

(Internal) Increment exposure record variable: phi

Description

incrementPhi is an internal function for incrementing an exposure record variable. Specifically, the f_k is incremented by one if the following conditions are simultaneously met:

Usage

incrementPhi(
  exposure_record,
  segments_to_apply,
  segment_prob,
  assembly_was_feasible
)

Arguments

exposure_record

a named list containing exposure records.

segments_to_apply

which segments to apply fading to.

segment_prob

a vector containing segment-wise classification probabilities of an ability estimate.

assembly_was_feasible

see assemblyInFinalThetaSegmentWasFeasibleAtLeastOnceInInterimThetaSegments.

Value

incrementPhi returns an updated exposure record.


[Package TestDesign version 1.7.0 Index]