| plot.RasterVariogram | R Documentation |
Plot the variogram computed for raster data by Variogram function
## S4 method for signature 'RasterVariogram'
plot(x, ...)
x |
an object of class |
... |
additional argument (see details) |
This function plot the empirical variogram, or variogram cloud if cloud set to TRUE or a boxplot of variogram cloud data if box set to TRUE,
Below are additional arguments:
cloud logical. If TRUE, the function plots variogram cloud.
box logical. If TRUE, the function plots boxplot of variogram cloud.
... xlab, ylab and main and other arguments are same as the base plot function.
plots the variogram.
Babak Naimi naimi.b@gmail.com
https://r-gis.net/ https://www.biogeoinformatics.org/
Variogram
file <- system.file("external/spain.tif", package="usdm")
r <- rast(file) # reading a RasterBrick including 5 rasters (predictor variables)
r
plot(r[[1]]) # visualize the raster layers
v1 <- Variogram(r[[1]]) # compute variogram for the first raster
plot(v1)
plot(v1,cloud=TRUE)
plot(v1,box=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.