Re: [R-sig-Geo] convert data.frame into raster image

2008-10-08 Thread James Nylen
Your data will probably be a lot easier to work with if you put it in this form: X Y RainfallDate 6.25 43.75 189 10/1972 6.25 44.25 153 10/1972 ... (Or leave off the date column and still keep a separate object for each set of observations, whichever make

Re: [R-sig-Geo] convert data.frame into raster image

2008-10-08 Thread Paul Hiemstra
Hi, You can take a look at the sp-package which provides Spatial objects for R, especially the coordinates-command. See the R-Spatial taskview for more info on spatial data in R (http://cran.r-project.org/web/views/Spatial.html). cheers, Paul Alexandre VILLERS wrote: Good afternoon (even i

[R-sig-Geo] convert data.frame into raster image

2008-10-08 Thread Alexandre VILLERS
Good afternoon (even if it might be morning or evening for some of you), The question might appear ordinary. I have a large dataset where such dataframe is repeated Oct 1972    6.25    6.75    7.25    7.75    8.25 43.75    189    210    190    155    140 44.25    153    163    174    164    1