gmGeostats (version 0.10-6)

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, ...)

Arguments

object

variogram model

newdata

matrix or data.frame of lag vectors

...

extra arguments for generic compatbility

Value

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

Examples

Run this code
# NOT RUN {
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