incrementN: (Internal) Increment exposure record variable: n

View source: R/eligibility_functions.R

incrementNR Documentation

(Internal) Increment exposure record variable: n

Description

incrementPhi is an internal function for incrementing an exposure record variable. Specifically, the n_k is incremented by one.

Usage

incrementN(
  exposure_record,
  segments_to_apply,
  segment_prob,
  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.

simulation_constants

a named list containing simulation constants.

Value

incrementN returns an updated exposure record.


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