GeoCovDisplay {GeoModels} | R Documentation |
Image plot displaying the pattern of the sparsness of a covariance matrix.
Description
Image plot displaying the pattern of the sparsness of a covariance matrix.
Usage
GeoCovDisplay(covmatrix,limits=FALSE,pch=2)
Arguments
covmatrix |
An object of class GeoCovmatrix. See the Section Details. |
limits |
Logical; If TRUE and the covariance matrix is spatiotemporal or spatial bivariate then vertical and horizontal lines are added to the image plot. |
pch |
Type of symbols to use in the image plot. |
Details
For a given covariance matrix object (GeoCovmatrix
)
the function diplays the pattern of the sparsness of a covariance matrix
where the white color represents 0 entries and black color represents non zero entries
Value
Produces a plot. No values are returned.
Author(s)
Moreno Bevilacqua, moreno.bevilacqua89@gmail.com,https://sites.google.com/view/moreno-bevilacqua/home, Víctor Morales Oñate, victor.morales@uv.cl, https://sites.google.com/site/moralesonatevictor/, Christian", Caamaño-Carrillo, chcaaman@ubiobio.cl,https://www.researchgate.net/profile/Christian-Caamano
See Also
Examples
library(GeoModels)
# Define the spatial-coordinates of the points:
x <- runif(100, 0, 2)
y <- runif(100, 0, 2)
coords=cbind(x,y)
matrix1 <- GeoCovmatrix(coordx=coords, corrmodel="GenWend", param=list(smooth=0,
power2=4,sill=1,scale=0.2,nugget=0))
GeoCovDisplay(matrix1)