this function
assigns the associated segment number to observations for each animal ID.
These segments of observations will be used in the second stage of the model
framework to perform mixed-membership clustering by Latent Dirichlet
Allocation.</p>
    </div>

    <div id="ref-usage">
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">assign_tseg_internal</span><span class="op">(</span><span class="va">dat</span>, <span class="va">brkpts</span><span class="op">)</span></span