getSegmentsToApply: (Internal) Make a vector for segment-dimensioned matrix...

View source: R/exposure_control_functions.R

getSegmentsToApplyR Documentation

(Internal) Make a vector for segment-dimensioned matrix update

Description

getSegmentsToApply is an internal function for creating a vector for the purpose of updating various matrices that use theta segments as a dimension.

Usage

getSegmentsToApply(n_segment, segments)

Arguments

n_segment

the total number of segments.

segments

a vector of target segments.

Value

getSegmentsToApply returns a vector.


TestDesign documentation built on Sept. 11, 2024, 7:12 p.m.