TT.mahalanobis {soiltexture}R Documentation

Calculates the Mahalanobis distance between clay silt and sand.

Description

Function that calculated the Mahalanobis distance between clay silt and sand, on a regular x-y grid (back-transformed to Clay silt and sand for Mahalanobis calculation). The underlying function is mahalanobis() by R Development Core Team (2009)

Usage

TT.mahalanobis(
  geo,
  tri.data,
  css.names = NULL,
  text.tol = NULL,
  text.sum = NULL,
  blr.clock = NULL,
  tri.sum.tst = NULL,
  tri.pos.tst = NULL,
  set.par = FALSE,
  n = 25,
  center = NULL,
  cov.mat = NULL,
  inverted = FALSE,
  ...,
  alr = FALSE,
  divisorvar = 2
)

Arguments

geo

See TT.plot

tri.data

See TT.plot

css.names

See TT.plot

text.tol

See TT.plot

text.sum

See TT.plot

blr.clock

See TT.plot

tri.sum.tst

See TT.plot

tri.pos.tst

See TT.plot

set.par

If TRUE parameters are set automatically to their defualt value

n

Number of points in the grid.

center

Passed to mahalanobis

cov.mat

Passed to mahalanobis

inverted

Passed to mahalanobis

...

More argument passed to mahalanobis

alr

If TRUE an additive log-ratio transformation of the data is performed, and the Mahalanobis distance is computed on all classes but css.names[divisorvar]

divisorvar

The Mahalanobis distance will be computed on all the texture class but css.names[divisorvar]

Author(s)

Julien Moeys [aut, cre], Wei Shangguan [ctb], Rainer Petzold [ctb], Budiman Minasny [ctb], Bogdan Rosca [ctb], Nic Jelinski [ctb], Wiktor Zelazny [ctb], Rodolfo Marcondes Silva Souza [ctb], Jose Lucas Safanelli [ctb], Alexandre ten Caten [ctb]


[Package soiltexture version 1.5.3 Index]