[R] gstat data formatting

From: EdmAB <melissapeters_at_email.com>
Date: Fri, 08 Apr 2011 13:11:22 -0700 (PDT)


Hello,

I am interested in using the hscat command in the gstat package to create h-scatterplots of snow depth measurements over a given area (spatial autocorrelation). Unfortunately I do not understand how to format my data for import into R for use with the hscat command. I have checked the gstat manual and it says to use grid maps in ascii format, but my data is in table format (ID, X, Y, Z) and saved as *.txt.

Do I need to import my .txt file into a program such as ArcMap, draw a map, save it in ascii format, and then import the ascii file into R? Or can I skip the middle steps and use an imported .txt file directly with the hscat command?

Thank you,
- EdmAB

--
View this message in context: http://r.789695.n4.nabble.com/gstat-data-formatting-tp3437343p3437343.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 08 Apr 2011 - 20:19:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 08 Apr 2011 - 20:20:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive