gmGeostats (version 0.11.3)

as.gmCgram.variogramModelList: Convert theoretical structural functions to gmCgram format

Description

Convert covariance function or variogram models to the format gmCgram of package gmGeostats

Usage

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

Value

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

Arguments

m

model to be converted

...

further parameters

V

original logratio matrix used in the definition of "LMCAnisCompo"

orignames

original variable names of the composition

Methods (by class)

  • 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

See Also

Other gmCgram functions: [.gmCgram(), [[.gmCgram(), as.function.gmCgram(), length.gmCgram(), ndirections(), plot.gmCgram(), variogramModelPlot()