[R-sig-Geo] replace values in spacetime (STFDF) object

2011-03-11 Thread Roth, M.
Hello, I want to replace specific values in a STFDF object from the spacetime package. As example consider the following stfdf object out of the vignette. sp = cbind(x = c(0,0,1), y = c(0,1,1)) row.names(sp) = paste(point, 1:nrow(sp), sep=) sp = SpatialPoints(sp) time = xts(1:4,

Re: [R-sig-Geo] replace values in spacetime (STFDF) object

2011-03-11 Thread Roth, M.
this? Cheers, Martin From: Aman Verma [aman.ve...@mcgill.ca] Sent: Friday, March 11, 2011 7:16 PM To: Roth, M.; r-sig-geo@r-project.org Subject: RE: replace values in spacetime (STFDF) object Hi Martin, You put the brackets in the wrong place. You want to subset