CovarianceMatrix: Covariance matrix of spatial data and/or its derivatives.

Description Usage Arguments Details Value See Also

Description

Calculates the covariance matrix of a spatially distributed value and/or its derivative.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
CovarianceMatrix(x, y, model, ...)


  ## S4 method for signature 
## 'lines3DDataFrame,lines3DDataFrame,covarianceModel3D'
CovarianceMatrix(x,
  y = x, model, parts = 10)


  ## S4 method for signature 
## 'lines3DDataFrame,points3DDataFrame,covarianceModel3D'
CovarianceMatrix(x,
  y, model, parts = 10)


  ## S4 method for signature 
## 'points3DDataFrame,lines3DDataFrame,covarianceModel3D'
CovarianceMatrix(x,
  y, model, parts = 10)


  ## S4 method for signature 
## 'points3DDataFrame,points3DDataFrame,covarianceModel3D'
CovarianceMatrix(x,
  y = x, model)


  ## S4 method for signature 
## 'points3DDataFrame,directions3DDataFrame,covarianceModel3D'
CovarianceMatrix(x,
  y, model)


  ## S4 method for signature 
## 'directions3DDataFrame,points3DDataFrame,covarianceModel3D'
CovarianceMatrix(x,
  y, model)


  ## S4 method for signature 
## 'directions3DDataFrame,directions3DDataFrame,covarianceModel3D'
CovarianceMatrix(x,
  y = x, model)


  ## S4 method for signature 
## 'points3DDataFrame,blocks3DDataFrame,covarianceModel3D'
CovarianceMatrix(x,
  y, model)


  ## S4 method for signature 
## 'blocks3DDataFrame,points3DDataFrame,covarianceModel3D'
CovarianceMatrix(x,
  y, model)


  ## S4 method for signature 
## 'blocks3DDataFrame,blocks3DDataFrame,covarianceModel3D'
CovarianceMatrix(x,
  y = x, model)

## S4 method for signature 'spatial3DDataFrame,covarianceModel3D'
NuggetMatrix(x, model)

Arguments

x, y

3D spatial objects.

model

A covarianceStructure3D object representing the spatial continuity of the variable of interest, or a list containing multiple such objects.

parts

The number of parts in which to "break" line segments.

Details

If covariance = F the resulting matrix is given in variogram form, with zeroes in the main diagonal and values that increase with the distance between data locations.

If the spatial objects are not made of punctual data, the covariance is calcuated with a "brute force" approach, by discretizing each data element in points and calculating an average covariance.

The CovarianceMatrixD1() method calculates the covariances between the variable of interest located in x and its derivatives located in tangents. The CovarianceMatrixD2() calculates the covariances between the derivatives themselves.

Value

A covariance matrix with dimensions depending of the method called:

CovarianceMatrix()

nrow(x) rows and nrow(y) columns

CovarianceMatrixD1()

nrow(x) rows and nrow(tangents) columns

CovarianceMatrixD2()

nrow(tangents) rows and nrow(tangents) columns

See Also

covarianceStructure3D-class, GetPlaneDirections


italo-goncalves/geomod3D documentation built on May 24, 2019, 2:49 p.m.