I don't know what you would like to modify: > library(spacetime) Loading required package: sp > data(air) > class(rural) [1] "STFDF" attr(,"package") [1] "spacetime" > dim(rural) space time variables 70 4383 1 > dim(rural[c(1,1:10),]) space time variables 11 4383 1 > dim(rural[,c(1,1:10)]) space time variables 70 11 1
please try this yourself; the behaviour is of course different, as we're replicating a full location time series (first case) or time slice (second case). On 06/17/2013 12:15 PM, scizmeli wrote: > Thanks for your interest, and timely fix, Edzer. > > Do you also think that some modifications can be done in the way STFDF and > STSDF are subsetted? I understand that they are different than STIDF as > length(rural@sp)!=nrow(rural@data) > > Servet > > > > > > -- > View this message in context: > http://r-sig-geo.2731867.n2.nabble.com/STIDF-subsetting-problem-tp7583785p7583798.html > Sent from the R-sig-geo mailing list archive at Nabble.com. > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > -- Edzer Pebesma Institute for Geoinformatics (ifgi), University of Münster Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251 83 33081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo