gmGeostats (version 0.10-6)

plot.logratioVariogramAnisotropy: Plot variogram lines of empirical directional logratio variograms

Description

Plots an "logratioVariogramAnisotropy" object in a series of panels, with each direction represented as a broken line.

Usage

# S3 method for logratioVariogramAnisotropy
plot(
  x,
  azimuths = colnames(x),
  col = rev(rainbow(length(azimuths))),
  type = "o",
  V = NULL,
  lty = 1,
  pch = 1:length(azimuths),
  model = NULL,
  figsp = 0,
  ...
)

Arguments

x

logratio variogram with anisotropy, i.e. object of class c("logratioVariogramAnisotropy", "logratioVariogram")

azimuths

which directions do you want to plot? default: all directions available

col

colors to be used for plotting

type

type of representation, see graphics::plot()

V

optionally, a matrix of logcontrasts, or else one of the following strings: "alr", "ilr" or "clr"; to produce a plot of the empirical variogram in the corresponding representation; default to variation-variograms

lty

style of the lines, potentially different for each directions

pch

symbols for the points, potentially different for each directions

model

eventually, variogram model to plot on top of the empirical variogram

figsp

spacing between the several panels, if desired

...

additional graphical arguments, to be passed to the underlying graphics::matplot() function

Value

Nothing. The function is called to create a plot.

Examples

Run this code
# NOT RUN {
data("jura", package="gstat")
X = jura.pred[,1:2]
Zc = compositions::acomp(jura.pred[,7:9])
vg = logratioVariogram(data=Zc, loc=X, azimuth=c(0:3)*45, 
                         azimuth.tol=22.5)
plot(vg) 
# }

Run the code above in your browser using DataLab