Learn R Programming

soiltexture (version 1.5.1)

TT.data.test.X: Test the validity of some soil texture data table (X particle size classes).

Description

Test the validity of some soil texture data table. (1) Test that

it is a data.frame or matrix, (3) Test that there are no missing

values, (4) that all values are >= 0, (5) That the sum of the

X particle size class is >= 'text.sum'*(1-'text.tol') or <=

'text.sum'*(1+'text.tol'). Contrary to TT.data.test() no test

are performed for the particle size classes and columns names, so

'tri.data' should only contains texture data, and nothing else.

Usage

TT.data.test.X(tri.data, text.sum = NULL, text.tol = NULL, 

tri.sum.tst = NULL, tri.pos.tst = NULL)

Arguments

tri.data

text.sum

text.tol

tri.sum.tst

tri.pos.tst

Author

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]