determineCurrentThetaSegment: (Internal) Determine the current theta segment

View source: R/theta_functions.R

determineCurrentThetaSegmentR Documentation

(Internal) Determine the current theta segment

Description

determineCurrentThetaSegment is an internal function for determining the current theta segment.

Usage

determineCurrentThetaSegment(
  current_theta,
  position,
  exposure_control,
  simulation_constants
)

Arguments

current_theta

a list containing data on the current theta estimate.

position

the position within the current administration (i.e., test progress)

exposure_control

the exposure_control slot of config_Shadow. Used to read custom first segments if available.

simulation_constants

a named list containing simulation constants.

Value

determineCurrentThetaSegment returns a segment index.


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