(Internal) Update segment record
updateSegmentRecord
is an internal function for updating segment record.
updateSegmentRecord(segment_record, segment_of, j)
segment_record
: a named list containing counts on theta segments.segment_of
: a named list containing theta segments of this examinee.j
: examinee index.updateSegmentRecord
returns an updated segment record.