gmGeostats (version 0.11.3)

[.logratioVariogramAnisotropy: Subsetting of logratioVariogram objects

Description

Subsetting of logratioVariogram objects

Usage

# S3 method for logratioVariogramAnisotropy
[(x, i = NULL, j = NULL, ...)

Value

the selected variograms or lags, potentially of class "logratioVariogram" if only one direction is chosen

Arguments

x

an object of class "logratioVariogram" or c("logratioVariogramAnisotropy", "logratioVariogram")

i

index or indexes of lags to be kept (if positive) or removed (if negative)

j

index or indexes of directions to be kept, only for objects of class c("logratioVariogramAnisotropy", "logratioVariogram")

...

extra arguments, ignored

Examples

Run this code
data("jura", package="gstat")
X = jura.pred[,1:2]
Zc = compositions::acomp(jura.pred[,7:9])
vg = logratioVariogram(data=Zc, loc=X)
vg[1]
vg = logratioVariogram(data=Zc, loc=X, azimuth=c(0,90))
vg[,1]
vg[1,1]
vg[1,]

Run the code above in your browser using DataLab