<div dir="ltr"><div><div><div>Caros,<br><br></div>Estou tentando a algum tempo krigar o arquivo em anexo, porém (provavelmente por pouco conhecimento no assunto), as tentativas estão frustradas.<br></div>Testei pelos pacotes fields e kriging e não obtive resultados positivos, abaixo segue a lista dos comandos utilizados e os erros para cada uma das tentativas, alguém poderia me ajudar com isso?<br>

</div><br>require(fields)<br><div><div><div><div>require(kriging)<br>require(gstat)<br><br></div><div>xyz = read.table('xyz.xyz',h=F)<br></div><div>xy = xyz[,c(1,2)]<br>z = xyz[,c(3)]<br></div><div>K=Krig(xy,z)<br class="">

<span class="" style="border-collapse:separate;color:rgb(0,0,0);font-family:'Lucida Console';font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(225,226,229)"><pre tabindex="0" class="" style="font-family:'Lucida Console';font-size:10pt!important;outline-style:none;outline-width:initial;outline-color:initial;border-style:none;border-width:initial;border-color:initial;white-space:pre-wrap!important;margin:0px;line-height:1.2">

<span class="" style="color:rgb(197,6,11)">Warning message:
</span><span class="" style="color:rgb(197,6,11)">In n1 * n2 : NAs produced by integer overflow
</span><span class="" style="color:rgb(197,6,11)">Error in t(out$W2 %d*% do.call(out$<a href="http://cov.function.name">cov.function.name</a>, c(out$args, list(x1 = out$knots,  : 
  erro na avaliação do argumento 'x' na seleção do método para a função 't': 'Error in out$W2 %d*% do.call(out$<a href="http://cov.function.name">cov.function.name</a>, c(out$args, list(x1 = out$knots,  : 
  erro na avaliação do argumento 'y' na seleção do método para a função '%d*%': 'Error in rep(0, n1 * n2) : invalid 'times' argument
'
'</span></pre></span></div><div><span class="" style="border-collapse:separate;color:rgb(0,0,0);font-family:'Lucida Console';font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(225,226,229)"><pre tabindex="0" class="" style="font-family:'Lucida Console';font-size:10pt!important;outline-style:none;outline-width:initial;outline-color:initial;border-style:none;border-width:initial;border-color:initial;white-space:pre-wrap!important;margin:0px;line-height:1.2">

<span class="" style="color:blue">kriging(xy[,1],xy[,2],z,model='gaussian')<br></span><span class="" style="border-collapse:separate;color:rgb(0,0,0);font-family:'Lucida Console';font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(225,226,229)"><pre tabindex="0" class="" style="font-family:'Lucida Console';font-size:10pt!important;outline-style:none;outline-width:initial;outline-color:initial;border-style:none;border-width:initial;border-color:initial;white-space:pre-wrap!important;margin:0px;line-height:1.2">

<span class="" style="color:rgb(197,6,11)">Error in rep(0, n * n) : invalid 'times' argument
</span><span class="" style="color:rgb(197,6,11)">In addition: </span><span class="" style="color:rgb(197,6,11)">Warning message:
</span><span class="" style="color:rgb(197,6,11)">In n * n : NAs produced by integer overflow<br><br></span></pre><pre tabindex="0" class="" style="font-family:'Lucida Console';font-size:10pt!important;outline-style:none;outline-width:initial;outline-color:initial;border-style:none;border-width:initial;border-color:initial;white-space:pre-wrap!important;margin:0px;line-height:1.2">

<span class="" style="color:rgb(197,6,11)"><br></span></pre></span><br></pre></span></div><div><br><br clear="all"><div>Tito Conte<br><br><br></div>
</div></div></div></div></div>