span>, <span class="va">ids2</span><span class="op">)</span></span></code></pre></div>
    </div>

    <div id="arguments">
    <h2>Arguments</h2>
    <dl><dt>ids1</dt>
<dd><p>unique vector of ids.</p></dd>


<dt>ids2</dt>
<dd><p>unique vector of ids with sort(ids1)==sort(ids2).</p></dd>

</dl></div>
    <div id="value">
    <h2>Value</h2>
    

<p>p integers such that ids1[p] == ids2</p>
    </div>

    <div id="ref-examples">
    <h2>Examples</h2>
    <div class="sourceCode"><pre class="sourceCode r"><cod