View source: R/GeoCovDisplay.R
GeoCovDisplay | R Documentation |
Image plot displaying the pattern of the sparsness of a covariance matrix.
GeoCovDisplay(covmatrix,limits=FALSE,pch=2)
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. |
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
Produces a plot. No values are returned.
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
GeoCovmatrix
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.