[R-sig-Geo] Read statement in R advanced

Paul Hiemstra paul.hiemstra at knmi.nl
Thu Sep 22 08:54:26 CEST 2011


 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



More information about the R-sig-Geo mailing list