## S3 method for class 'STF,STF':
over(x, y, returnList = FALSE, fn = NULL, ..., timeInterval = FALSE)
## S3 method for class 'xts,xts':
over(x, y, returnList = FALSE, fn = NULL, ..., timeInterval = TRUE)
## S3 method for class 'ST':
aggregate(x, by, FUN = mean, \dots, simplify = TRUE)
x
are aggregated
(this can be a Spatial*
geometry, or a ST*
geometry), or
temporal aggregation, such as "month", "10 minutes", or a function such
as Spatial
or xts
) object will be returnedlength(x)
, or a data.frame with number
of rows equal to length(x)
. If returnList
is FALSE,
a vector with indices of y
for each geometry (point, grid
cell centre, polygon or lines x time point) in x
. if returnList
is
TRUE, a list of length length(x)
, with list element i
the vector of indices of the geometries in y
that correspond
to the $i$-th geometry in x
.Function aggregate.ST aggregates the attribute values of x
over the geometry (space, time, or space-time) of by
, using
aggregation function FUN.
vignette('sto')
, vignette('over')