vv: Precomputed variogram for PM10 in data set air

Description Usage Format Examples

Description

Precomputed variogram for PM10 in data set air

Usage

1

Format

data set structure is explained in variogramST.

Examples

 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)

gstat documentation built on May 2, 2019, 4:59 p.m.