Learn R Programming

TestDesign (version 1.7.0)

updateDiagnosticExposureRecord: (Internal) Update diagnostic exposure record

Description

updateDiagnosticExposureRecord is an internal function for updating diagnostic exposure record. This function does not do actual exposure control; this function is used for updating diagnostic exposure record after exposure control is performed.

Usage

updateDiagnosticExposureRecord(
  diagnostic_exposure_record,
  j,
  exposure_record,
  config,
  simulation_constants
)

Value

updateDiagnosticExposureRecord returns an updated diagnostic exposure record.

Arguments

diagnostic_exposure_record

a named list containing diagnostic exposure record.

j

the numeric index of the examinee.

exposure_record

a named list containing exposure records.

config

a config_Shadow object. Use createShadowTestConfig for this.

simulation_constants

a named list containing simulation constants.