TT.data.test: Test the validity of some soil texture data table (3 particle...

View source: R/soiltexture.R

TT.data.testR Documentation

Test the validity of some soil texture data table (3 particle size classes).

Description

Test the validity of some soil texture data table. (1) Test that it is a data.frame or matrix, (2) Test that column names contains 'css.names', (3) Test that there are no missing values, (4) that all values are >= 0, (5) That the sum of the 3 particle size classes is >= 'text.sum'*(1-'text.tol') or <= 'text.sum'*(1+'text.tol'). 'tri.data' may contain other variables than the 3 textuer classes (ignored).

Usage

TT.data.test(
  tri.data,
  css.names = NULL,
  text.sum = NULL,
  text.tol = NULL,
  tri.sum.tst = NULL,
  tri.pos.tst = NULL
)

Arguments

tri.data

See TT.plot

css.names

See TT.plot

text.sum

See TT.plot

text.tol

See TT.plot

tri.sum.tst

See TT.plot

tri.pos.tst

See TT.plot

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]


soiltexture documentation built on May 29, 2024, 7:53 a.m.