[R-sig-Geo] STIDF subsetting problem
sa.cizmeli at usherbrooke.ca
Sat Jun 15 16:35:34 CEST 2013
I am trying rearrange the rows of a STIDF object using a numerical variable
idx containing the row indexes having some repeated indexes :
rural = as(rural,"STIDF")
gives me only a 1-row STIDF object. I would rather expect a 3-rows STIDF
object, with the replicates of the 1st row.
The general behavior of R in such a case, however, would be to replicate the
rows. I give below two examples with data.frame and list objects ;
Is this behavior of spacetime (namely the internal function subs.STIDF) can
be modified in the future to provide a more compatible with the R standards?
In its current way, it is not possible to use the subsetting in a
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/STIDF-subsetting-problem-tp7583785.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
More information about the R-sig-Geo