getSegmentsToApply {TestDesign}R 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.


[Package TestDesign version 1.7.0 Index]