Usage
TT.points.in.classes(tri.data, class.sys = NULL, PiC.type = NULL, css.names = NULL, text.sum = NULL, base.css.ps.lim = NULL, tri.css.ps.lim = NULL, dat.css.ps.lim = NULL, css.transf = NULL, text.transf.fun = NULL, trsf.add.opt1 = NULL, trsf.add.opt2 = NULL, text.tol = NULL, tri.sum.tst = NULL, tri.pos.tst = NULL, collapse = ", ", texture2xy = FALSE, blr.tx = NULL, blr.clock = NULL)
Arguments
tri.data
Data frame. Data frame containing the CLAY, SILT and SAND
'coordinates' of the texture data points to be classified The data
frame can contain more column than needed (ignored). The data
frame must have column named CLAY, SILT and SAND (uppercase,
class.sys
Single text string. Text code of the texture classification
system to be used for the classification of 'tri.data'.
Possible values are "none" (no classification plotted), "USDA.TT"
(USDA texture triangle), "FAO50.TT" (FAO texture triangle with a 50
PiC.type
Single character string. If equal to 'n', then a table of 0,
1, 2 or 3 is outputed (0 if the sample does not belong to a class,
1 if it does, 2 if it lies on an edge and 3 if it lies on a
vertex). Notice that the accuracy of the classification is
css.names
Vector of 3 character strings. Name of the columns in 'tri.data'
that contains the CLAY SILT and SAND values, respectively.
If NULL, default c("CLAY","SILT","SAND") value is assumed. Not
to be confused with 'css.lab' that defines the labels of the
text.sum
Single numerical. Sum of the 3 particle size classes for each texture
value (fixed). The real sum of the 3 particle size classes in 'tri.data'
should be >= text.sum * (1-text.tol) OR
base.css.ps.lim
Vector of 4 numericals. Particle size boundaries (upper and lower)
of the 3 particle size classes (CLAY, SILT and SAND, starting from
the lower size of CLAY particles, 0, to the upper size of the
SAND particles, 2000), in micrometers, FOR THE BASE S
tri.css.ps.lim
Vector of 4 numericals. Particle size boundaries (upper and lower)
of the 3 particle size classes (CLAY, SILT and SAND, starting from
the lower size of CLAY particles, 0, to the upper size of the
SAND particles, 2000), in micrometers, FOR THE TEXTUR
dat.css.ps.lim
Vector of 4 numericals. Particle size boundaries (upper and lower)
of the 3 particle size classes (CLAY, SILT and SAND, starting from
the lower size of CLAY particles, 0, to the upper size of the
SAND particles, 2000), in micrometers, FOR THE TEXTUR
css.transf
Single logical. Set to TRUE to transform the texture coordinates
of the texture triangle ('class.sys') or the texture data
('tri.data') into the base particle size class limits.
See 'base.css.ps.lim' for the base plot particle size class limits,
'
text.transf.fun
R function with the same argument names and same output as
the function TT.text.transf(). 'text.transf.fun' is the function
that transform the texture values from one system of particle
class size limits to another. Only used if css.transf == TRUE.
trsf.add.opt1
Non pre-defined format. If the user specifies its own texture
transformation function in 'text.transf.fun' (not TT.text.transf()),
then he can use 'trsf.add.opt1' and 'trsf.add.opt1' as
new, additional, argument for his function. So the format of
trsf.add.opt2
Non pre-defined format. If the user specifies its own texture
transformation function in 'text.transf.fun' (not TT.text.transf()),
then he can use 'trsf.add.opt1' and 'trsf.add.opt1' as
new, additional, argument for his function. So the format of
text.tol
Single numerical. Tolerance on the sum of the 3 particle size classes.
The real sum of the 3 particle size classes in
'tri.data' should be >= text.sum * (1-text.tol) OR
tri.sum.tst
Single logical. If TRUE (the default), the sum of the 3 texture
classes of each texture value in 'tri.data' will be checked
in regard to 'text.sum' and 'text.tol'. If FALSE, no test
is done.
tri.pos.tst
Single logical. If TRUE (the default), the position of texture
values in 'tri.data' are tested to check that they are not
OUTSIDE the texture triangle (i.e. that some texture values may
be negative).
collapse
Single character string. If PiC.type = "t" and a sample lie
on the edge of 2 texture classes, then both will be outputed
in a single character string, separated by 'collapse'. Example of
output: [1] "C" "VF, F" "C" "C" "M"
texture2xy
Single logical. Set to FALSE to avoid any transformation of the
texture data (trigonometric) prior to testure data classification.
Setting to FALSE avoid some numerical accuracy problems when
a point is on the border of a texture class.
blr.tx
Vector of 3 character strings. The 1st, 2nd and 3rd values must
be either CLAY, SILT or SAND, and determines the particle size classes
associated with the BOTTOM, LEFT and RIGHT axis, respectively.
CLAY, SILT and SAND order in the vector is free, bu
blr.clock
Vector of logicals, eventually with NA values. Direction of
increasing texture values on the BOTTOM, LEFT and RIGHT axis,
respectively. A value of TRUE means that the axis direction is
clockwise. A value of FALSE means that the axis direction is
c