Description Usage Format Examples
Precomputed variogram for PM10 in data set air
1 |
data set structure is explained in variogramST.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# obtained by:
library(spacetime)
library(gstat)
data(air)
if (!exists("rural"))
rural = STFDF(stations, dates, data.frame(PM10 = as.vector(air)))
rr = rural[,"2005::2010"]
unsel = which(apply(as(rr, "xts"), 2, function(x) all(is.na(x))))
r5to10 = rr[-unsel,]
vv = variogram(PM10~1, r5to10, width=20, cutoff = 200, tlags=0:5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.