Learn R Programming

TestDesign (version 1.7.0)

makeDiagnosticExposureRecord: (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
)

Value

makeDiagnosticExposureRecord returns an updated exposure record.

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.