ps://rdrr.io/r/base/sum.html" class="external-link">sum</a></span><span class="op">(</span><span class="va">img</span><span class="op">)</span></span>
<span><span class="co">#&gt; [1] 4073996312</span></span>
<span><span class="fu"><a href="https://rdrr.io/r/base/sum.html" class="external-link">sum</a></span><span class="op">(</span><span class="va">img</span> <span class="op">&gt;</span> <span class="fl">1000</span><span class="op">)</span></span>
<span><span class="co">#&gt; [1] 278650</span></span></code