An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20140507/c6ce1f26/attachment.pl>
How to export the result of krige.conv;
2 messages · 唐国强, Paulo Justiniano Ribeiro Jr
So you can transform the values returned as list components to matrices Forinstnce, for predicted values you can transform kc$pred to a appropriate matrix to reflect your grid. Note this is underlying several functions such as image(kc) which does such conversion internally. again your query reffers how to mnipulate R objects which you can do in R's standard ways from krige.conv() output
On Wed, 7 May 2014, ??? wrote:
In this way I can only get a list of all the values. In my codes, I set up a grid of 420 columns and 565 rows. I hope to fill those values to each grid cell, then I can get the values on the surface. The result I expect is a 565*420 grid with values calculated with krige.conv. -- ?????? ?????? ?????????????????????? Tel??15201514761 At 2014-05-07 22:49:15,"Paulo Justiniano" <paulojus at leg.ufpr.br> wrote:
Ths is just about how to export R objects and any std device can be used There is no specific functionin geoR krige.conv() retuns a list where the first two components are the kriging predictions and variances which are the ones you may wish to export Suppose kc is the object with output of krige.conv() as an example you can export as a csv file with: write.csv(kc[1:2], file="kc.csv") On Wed, 7 May 2014, ?????? wrote:
Dear Paulo J. Ribeiro and Peter J. Diggle:I used "krige.conv" to do Krige interplation in a region. But I have difficulties in export the results.I find some codes on a website https://stat.ethz.ch/pipermail/r-sig-geo/2009-July/006167.html. But I can't get it run and I can't understand it probably because the codes lose some information. Attachtment is my code. What I want to know is how to export the result of krige.conv to .asc .xlsx or some others file. Thank you! Guoqiang Tang ????????????????????????????
[[alternative HTML version deleted]]