ds <code>algorithm[[k]]$FUN = "myalgo"</code>, <code>algorithm[[k]]$par1 = "a"</code> and
<code>algorithm$par2 = 5</code>, then:</p>
<div class="sourceCode"><pre><code><span></span>
<span>         <span class="va">myalgo</span> <span class="op">&lt;-</span> <span class="kw">function</span><span class="op">(</span><span class="va">par1</span>, <span class="va">par2</span>, <span class="va">instance</span>, <span class="va">...</span><span class="op">)</span><span class="op">{</span></span>
<span>            