cb1-5" data-line-number="5"><span class="co">#&gt; Loading required package: sp</span></a>
<a class="sourceLine" id="cb1-6" data-line-number="6"></a>
<a class="sourceLine" id="cb1-7" data-line-number="7"><span class="co"># write a simulation function with the desired parameters</span></a>
<a class="sourceLine" id="cb1-8" data-line-number="8">simulate_landscape =<span class="st"> </span><span class="cf">function</span>(x) {</a>
<a class="sourceLine" id="cb1-9" data-line-number="9">  <span class="kw"><a href=