incrementRho: (Internal) Increment exposure record variable: rho

View source: R/eligibility_functions.R

incrementRhoR Documentation

(Internal) Increment exposure record variable: rho

Description

incrementRho is an internal function for incrementing an exposure record variable. Specifically, the s_ijk variable is incremented for accounting for infeasible shadowtests.

Usage

incrementRho(
  exposure_record,
  segments_to_apply,
  segment_prob,
  eligibility_flag,
  assembly_was_feasible,
  simulation_constants
)

Arguments

exposure_record

a named list containing exposure records.

segments_to_apply

which segments to apply the incrementing.

segment_prob

the amount of increment.

eligibility_flag

a named list containing eligibility flags.

assembly_was_feasible

see assemblyInFinalThetaSegmentWasFeasibleAtLeastOnceInInterimThetaSegments.

simulation_constants

a named list containing simulation constants.

Value

incrementRho returns an updated exposure record.


TestDesign documentation built on Sept. 11, 2024, 7:12 p.m.