e r"><a class="sourceLine" id="cb2-1" title="1">my.sp &lt;-<span class="st"> &quot;HOMA&quot;</span> </a>
<a class="sourceLine" id="cb2-2" title="2"><span class="co"># get data from the list</span></a>
<a class="sourceLine" id="cb2-3" title="3">obs_homa &lt;-<span class="st"> </span>neigh_list[[my.sp]]</a>
<a class="sourceLine" id="cb2-4" title="4"><span class="co"># no need for ID column</span></a>
<a class="sourceLine" id="cb2-5" title="5">obs_homa &lt;-<span class="st"> </span><span class="kw">subset</sp