<span>  <span class="kw"><a href="https://rdrr.io/r/base/function.html" class="external-link">return</a></span><span class="op">(</span><span class="va">o_loglik</span> <span class="op">+</span> <span class="va">w_loglik</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="op">}</span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Initial estimates (method of moments for the Gumbel case)</span></span></span>
<span class="r-in