><span class="kw">lapply</span>(ids, getPlayerPos)</span>
<span id="cb34-3"><a href="a-stairway-to-heaven.html#cb34-3"></a>ali &lt;-<span class="st"> </span>ids[<span class="dv">1</span>]</span></code></pre></div>
</div>
<div id="stairway-to-heaven" class="section level2">
<h2><span class="header-section-number">3.2</span> Stairway to heaven</h2>
<p>We will create a matrix that contains our increments. First we create a matrix with as many columns as we want stairs, and three rows specifying our coordinates