as.logratioVariogram: Recast empirical variogram to format logratioVariogram

View source: R/compositionsCompatibility.R

as.logratioVariogram.gstatVariogramR Documentation

Recast empirical variogram to format logratioVariogram

Description

Recast an empirical compositional variogram of any sort to a variation-variogram of class "logratioVariogram".

Usage

## S3 method for class 'gstatVariogram'
as.logratioVariogram(
  vgemp,
  V = NULL,
  tol = 1e-12,
  orignames = NULL,
  symmetrize = FALSE,
  ...
)

as.logratioVariogram(vgemp, ...)

## S3 method for class 'logratioVariogram'
as.logratioVariogram(vgemp, ...)

## S3 method for class 'gmEVario'
as.logratioVariogram(vgemp, ...)

Arguments

vgemp

empirical variogram

V

matrix or name of the logratio transformation used

tol

tolerance for generalized inverse (eventually for clr case; defaults to 1e-12)

orignames

names of the original component (default NULL)

symmetrize

do you want a whole circle of directions? (default FALSE)

...

parameters for generic functionality

Value

the same model in the new format.

Methods (by class)

  • gstatVariogram: method for gstatVariogram objects

  • logratioVariogram: identity method

  • gmEVario: method for gmEVario objects (not yet available)


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