an><span class="va">g</span> <span class="op">&lt;-</span> <span class="fu">interpBarnes</span><span class="op">(</span><span class="va">p</span>, <span class="va">y</span>, <span class="va">S</span>, xg <span class="op">=</span> <span class="va">pg</span>, xr <span class="op">=</span> <span class="fl">1</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/graphics/plot.default.html" class="external-link">plot</a></span><span class="op">(</span><