<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Faça com um laço for por exemplo<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">chute <- ...<br>
</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">for(...){<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"> op <- optim(chute, ...)<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">
chute <- op$par<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">}<br><br>À disposição.<br>Walmes.<br></div></div>