ss="sourceCode r"><code><span><span class="co"># S4 method for class 'cm'</span></span>
<span><span class="fu"><a href="applyMagneticDeclination.html">applyMagneticDeclination</a></span><span class="op">(</span></span>
<span>  object <span class="op">=</span> <span class="st">"oce"</span>,</span>
<span>  declination <span class="op">=</span> <span class="fl">0</span>,</span>
<span>  debug <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/options.html" class="external-link">getOption