Learn R Programming

spacetime (version 0.2-2)

STIDF-class: Class "STIDF"

Description

A class for unstructured spatio-temporal data; for n spatial locations and times, n observations are available

Usage

STI(sp, time)
  STIDF(sp, time, data)
  ## S3 method for class 'STIDF':
[(x, i, j, ..., drop = FALSE)
  ## S3 method for class 'STIDF,STSDF':
coerce(from, to, strict=TRUE)

Arguments

sp
object of class Spatial
time
object of class xts; when STIDF is called, a vector with times, e.g. POSIXct will also work, and rearrange sp and data according to the ordering of time.
data
data frame with appropriate number of rows
x
an object of class STFDF
i
selection of record index (spatial/temporal entities), or character string with temporal selection
j
selection of attributes
...
ignored
drop
if TRUE and a single spatial entity is selected, an object of class xts is returned (NOT yet implemented); if TRUE and a single temporal entity is selected, and object of the appropriate Spatial class is return
from
object of class STFDF
to
target class
strict
ignored

Objects from the Class

Objects of this class carry full space/time grid data