Learn R Programming

gmGeostats (version 0.11.3)

predict.LMCAnisCompo: Compute model variogram values

Evaluate the variogram model provided at some lag vectors

Description

Compute model variogram values

Evaluate the variogram model provided at some lag vectors

Usage

# S3 method for LMCAnisCompo
predict(object, newdata, ...)

Value

an array of dimension (nr of lags, D, D) with D the number of variables in the model.

Arguments

object

variogram model

newdata

matrix or data.frame of lag vectors

...

extra arguments for generic compatbility

Examples

Run this code
data("jura", package="gstat")
Zc = compositions::acomp(jura.pred[,7:9])
lrmd = LMCAnisCompo(Zc, models=c("nugget", "sph"), azimuths=c(0,45))
predict(lrmd, outer(0:5, c(0,1)))

Run the code above in your browser using DataLab