nchor" href="#arg-method"></a></dt>
<dd><p>the method to be used for calculating decimated values.  This may
be a string specifying the method, or a function. In the string case, the
possibilities are as follows.</p><ul><li><p><code>"boxcar"</code> (based on a local average)</p></li>
<li><p><code>"approx"</code> (based on linear
interpolation between neighboring points, using <code><a href="https://rdrr.io/r/stats/approxfun.html" class="external-link">approx()</a></code>
with the <code>rule</code> argument 