an class="va">nz</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/subset.html" class="external-link">subset</a></span><span class="op">(</span><span class="va">nz</span>, <span class="va">name</span> <span class="op">!=</span> <span class="st">"Chatham Island"</span><span class="op">)</span></span>
<span></span>
<span><span class="co"># filter just Oncorhynchus genus </span></span>
<span><span class="va">df_fish</span> <span class="op">&lt;-</span> <span class="fu"><a hr