lass="op">:</span><span class="kw">length</span>(salinity)){</a>
<a class="sourceLine" id="cb15-12" title="12">  salinity[[i]] &lt;-<span class="st"> </span><span class="kw">as.matrix</span>(salinity[[i]][,<span class="dv">2</span><span class="op">:</span><span class="kw">length</span>(salinity[[i]])])</a>
<a class="sourceLine" id="cb15-13" title="13">  <span class="kw">colnames</span>(salinity[[i]]) &lt;-<span class="st"> &quot;salinity&quot;</span></a>
<a class="sourceLine" id="cb15-14" title="14">}</a></