Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.RasterVariogram

Plot variogram or variogram cloud or boxplot based on variogram cloud


Description

Plot the variogram computed for raster data by Variogram function

Usage

## S4 method for signature 'RasterVariogram'
plot(x, ...)

Arguments

x

an object of class RasterVariogram, which is the output of Variogram function.

...

additional argument (see details)

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.

Value

plots the variogram.

Author(s)

Babak Naimi naimi.b@gmail.com

See Also

Examples

file <- system.file("external/spain.grd", package="usdm")

r <- brick(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)

usdm

Uncertainty Analysis for Species Distribution Models

v1.1-18
GPL (>= 3)
Authors
Babak Naimi
Initial release
2017-06-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.