Message-ID: <4E7ADBA2.3010403@knmi.nl>
Date: 2011-09-22T06:54:26Z
From: Paul Hiemstra
Subject: Read statement in R advanced
In-Reply-To: <CAHnA5RUoFJQ4aubrqrGcUX0F3=1sBEF46jLf4X8GBO+aoHDR9A@mail.gmail.com>
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