An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20110921/7fae7a00/attachment.pl>
Read statement in R advanced
3 messages · Sandeep Patil, Roman Luštrik, Paul Hiemstra
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20110922/dfcd8c22/attachment.pl>
On 09/21/2011 11:31 PM, Sandeep Patil wrote:
Hello everybody I have an excel file with 412 rows and about 15 variables , i need to perform the same suite of processes on the variables one after the other( these are long processes taking a lot of time) I have encoded missing data for each column as "NA" and the spatial data for each of the variable separately as X1, Y1, X2, Y2 so that there is 1-1 correspondence between coordinates and variables each time i use it. However when i read it into R it gives me an error saying that the number of rows and spatial data points. I want to assign the spatial points to *coordinates(file)=~Xi+Yi* command and can anyone tell me is there anyway to tell R about missing data in each case. Any advice appreciated. Thank you
...provding us with a small piece of code that reproduces your problem would be of great help here. regards, Paul
Paul Hiemstra, Ph.D. Global Climate Division Royal Netherlands Meteorological Institute (KNMI) Wilhelminalaan 10 | 3732 GK | De Bilt | Kamer B 3.39 P.O. Box 201 | 3730 AE | De Bilt tel: +31 30 2206 494 http://intamap.geo.uu.nl/~paul http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770