variogramST(formula, locations, data, ..., tlags = 0:15, cutoff,
width = cutoff/15, boundaries = seq(0, cutoff, width),
progress = interactive(), pseudo = TRUE, assumeRegular=FALSE, na.omit=FALSE)
locations
or data
must be provided.STFDF
, STSDF
or STIDF
containing the variable.variogram
function. In case of using data of type STIDF
, the argument tunit
is recommendeddata
is of class STIDF
the actual temporal boundaries with time unit given by tunit
otherwise the same unit as d
cutoff
is divided into 15 equal lags.NA
values in the spatio-temporal variogram be dropped? In case where complete rows or columns in the variogram consists of NA
only, plot
might produce a distorted picture.np
, dist
and gamma
the spatio-temporal fields,
timelag
and spacelag
, the first of which indicates the time lag
used, the second the space lag. spacelag
is the midpoint in the spatial
lag intervals, whereas dist
is the average distance between the point
pairs found in a distance interval. To compute variograms for space lag $h$
and time lag $t$, the pseudo cross variogram $(Z_i(s)-Z_{i+t}(s+h))^2$ is
averaged over all time lagged observation sets $Z_i$ and $Z_{i+t}$ available
(weighted by the number of pairs involved).Cressie, N., C. Wikle, 2011, Statistics for Spatio-temporal Data, Wiley.
Pebesma, E.J., 2004. Multivariable geostatistics in S: the gstat package. Computers & Geosciences, 30: 683-691.
plot.StVariogram
,
for variogram models: vgmST
,
to fit a spatio-temporal variogram model to a spatio-temporal sample variogram:
fit.StVariogram
# The following spatio-temporal variogram has been calcualted through
# vv = variogram(PM10~1, r5to10, width=20, cutoff = 200, tlags=0:5)
# in the vignette "st".
data(vv)
str(vv)
plot(vv)
Run the code above in your browser using DataLab