Re: [R-sig-Geo] cbind(SGDFone, SGDFtwo)

2007-12-20 Thread Ingo Holz
Sorry, I deleted one of the grids ... ;-) I will redo the analysis later and come back with the result of all.equal(getGridTopology(a), getGridTopology(b)) However, before I deleted the Grid I checked getGridTopology() for the two SGDF separately. They were the same! I solved the problem

Re: [R-sig-Geo] cbind(SGDFone, SGDFtwo)

2007-12-20 Thread Edzer Pebesma
Ingo, the check that fails is all.equal(getGridTopology(a), getGridTopology(b)) which should return TRUE. Could you check this for your two grids? -- Edzer Ingo Holz wrote: > Hi, > > I want to use cbind to combine two SpatialGridDataFrames. > > SGDFone <- cbind(SGDFone, SGDFtwo) > > SGDFone a

[R-sig-Geo] cbind(SGDFone, SGDFtwo)

2007-12-20 Thread Ingo Holz
Hi, I want to use cbind to combine two SpatialGridDataFrames. SGDFone <- cbind(SGDFone, SGDFtwo) SGDFone and SGDFtwo resulted from the same SGDF they are copies like SGDFone <- SGDF; SGDFtwo <- SGDF. Only the dataframe part has been modified. However, using cbind() I get the error message