as.gmCgram: Convert theoretical structural functions to gmCgram format

View source: R/variograms.R

as.gmCgram.variogramModelListR Documentation

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 class 'variogramModelList'
as.gmCgram(m, ...)

## S3 method for class 'variogramModel'
as.gmCgram(m, ...)

## S3 method for class 'LMCAnisCompo'
as.gmCgram(
  m,
  V = attr(m, "contrasts"),
  orignames = rownames(m["sill", 1]$sill),
  ...
)

as.gmCgram(m, ...)

## Default S3 method:
as.gmCgram(m, ...)

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

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

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


gmGeostats documentation built on April 18, 2023, 5:08 p.m.