Convert covariance function or variogram models to the format gmCgram of package gmGeostats
# S3 method for variogramModelList
as.gmCgram(m, ...)# S3 method for variogramModel
as.gmCgram(m, ...)
# S3 method for LMCAnisCompo
as.gmCgram(
m,
V = attr(m, "contrasts"),
orignames = rownames(m["sill", 1]$sill),
...
)
as.gmCgram(m, ...)
# S3 method for default
as.gmCgram(m, ...)
the covariance/variogram model, recasted to class gmCgram
.
This is a generic function. Methods exist for objects of class
LMCAnisCompo
(for compositional data) and variogramModelList
(as provided by package gstat
).
model to be converted
further parameters
original logratio matrix used in the definition of "LMCAnisCompo"
original variable names of the composition
variogramModelList
: Convert theoretical structural functions to gmCgram format
variogramModel
: Convert theoretical structural functions to gmCgram format
LMCAnisCompo
: method for "LMCAnisCompo" variogram model objects
default
: Convert theoretical structural functions to gmCgram format
Other gmCgram functions:
[.gmCgram()
,
[[.gmCgram()
,
as.function.gmCgram()
,
length.gmCgram()
,
ndirections()
,
plot.gmCgram()
,
variogramModelPlot()