makeDiagnosticExposureRecord: (Internal) Collect diagnostic exposure record

View source: R/eligibility_functions.R

makeDiagnosticExposureRecordR Documentation

(Internal) Collect diagnostic exposure record

Description

makeDiagnosticExposureRecord is an internal function for collecting diagnostic exposure record.

Usage

makeDiagnosticExposureRecord(
  true_theta,
  segment_record,
  diagnostic_exposure_record,
  config,
  simulation_constants
)

Arguments

true_theta

examinee's true theta. Used to determine the segment the true theta belongs to.

segment_record

a named list containing counts on theta segments.

diagnostic_exposure_record

a named list containing the diagnostic exposure record.

config

a config_Shadow object. Use createShadowTestConfig for this.

simulation_constants

a named list containing simulation constants.

Value

makeDiagnosticExposureRecord returns an updated exposure record.


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