n class="op">$</span><span class="va">x</span> <span class="op">-</span> <span class="va">x_coord</span><span class="op">)</span> <span class="op">&lt;</span> <span class="op">(</span><span class="va">node_width</span> <span class="op">/</span> <span class="fl">2</span><span class="op">)</span><span class="op">)</span> <span class="op">{</span> <span class="va">...</span> <span class="op">}</span></code></pre></div>
<p>The nearest integer to the y-coordinate corresponds to the row of the data frame because 