Package: soiltexture 1.5.3

Julien Moeys

soiltexture: Functions for Soil Texture Plot, Classification and Transformation

"The Soil Texture Wizard" is a set of R functions designed to produce texture triangles (also called texture plots, texture diagrams, texture ternary plots), classify and transform soil textures data. These functions virtually allows to plot any soil texture triangle (classification) into any triangle geometry (isosceles, right-angled triangles, etc.). This set of function is expected to be useful to people using soil textures data from different soil texture classification or different particle size systems. Many (> 15) texture triangles from all around the world are predefined in the package. A simple text based graphical user interface is provided: soiltexture_gui().

Authors: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_1.5.3.tar.gz
soiltexture_1.5.3.zip(r-4.5)soiltexture_1.5.3.zip(r-4.4)soiltexture_1.5.3.zip(r-4.3)
soiltexture_1.5.3.tgz(r-4.4-any)soiltexture_1.5.3.tgz(r-4.3-any)
soiltexture_1.5.3.tar.gz(r-4.5-noble)soiltexture_1.5.3.tar.gz(r-4.4-noble)
soiltexture_1.5.3.tgz(r-4.4-emscripten)soiltexture_1.5.3.tgz(r-4.3-emscripten)
soiltexture.pdf |soiltexture.html
soiltexture/json (API)
NEWS

# Install 'soiltexture' in R:
install.packages('soiltexture', repos = c('https://julienmoeys.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/julienmoeys/soiltexture/issues

On CRAN:

7.04 score 27 stars 1 packages 134 scripts 960 downloads 2 mentions 32 exports 3 dependencies

Last updated 9 months agofrom:2419378625. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 12 2024
R-4.5-winOKNov 12 2024
R-4.5-linuxOKNov 12 2024
R-4.4-winOKNov 12 2024
R-4.4-macOKNov 12 2024
R-4.3-winOKNov 12 2024
R-4.3-macOKNov 12 2024

Exports:soiltexture_guisoiltextureInfoTT.addTT.baseplotTT.chemometrics.alrTT.classesTT.classes.tblTT.contourTT.data.testTT.data.test.XTT.datasetTT.dia2phiTT.geo.getTT.getTT.gridTT.imageTT.iwdTT.kde2dTT.locatorTT.mahalanobisTT.normalise.sumTT.normalise.sum.XTT.plotTT.pointsTT.points.in.classesTT.setTT.strTT.textTT.text.transfTT.text.transf.XTT.vertices.plotTT.vertices.tbl

Dependencies:latticeMASSsp

The soil texture wizard: a tutorial

Rendered fromsoiltexture_vignette.Rnwusingutils::Sweaveon Nov 12 2024.

Last update: 2024-02-14
Started: 2014-01-09

Readme and manuals

Help Manual

Help pageTopics
Text-based menu for plotting and classifying soil texture datasoiltexture_gui
Display and / or export system and package version informationsoiltextureInfo
Function to add a new default package parameters.TT.add
Internal. Create an empty plot scene for a texture triangle.TT.baseplot
Compute the additive log-ratio transformation of compositional data.TT.chemometrics.alr
Plot the texture classes polygons in a texture triangle plot.TT.classes
Returns the table of classes of a texture classification system.TT.classes.tbl
Wrapper for the contour() function adapted to texture triangles.TT.contour
Test the validity of some soil texture data table (3 particle size classes).TT.data.test
Test the validity of some soil texture data table (X particle size classes).TT.data.test.X
Genetates a virtual cross correlated clay silt sand + Z dataset.TT.dataset
Convert a soil particle diameter dia [micro-meters] into phi = -log2(dia/1000)TT.dia2phi
Retrieve and return the geometrical parameters from a list of parameter values (NULL or not).TT.geo.get
Function to retrieve / get the default package parameters.TT.get
Plot a grid at regular texture intervals inside an existing soil texture triangle.TT.grid
Wrapper for the image() function adapted to texture triangles.TT.image
Inverse weighted distance interpolation on a grid.TT.iwd
Calculated the 2D probabilty density on an x-y grid.TT.kde2d
Interactive (mouse clic) retrieval the CLAY SILT SAND coordinate of points on a texture triangle.TT.locator
Calculates the Mahalanobis distance between clay silt and sand.TT.mahalanobis
Normalises the sum of the 3 particle size classes.TT.normalise.sum
Normalises the sum of the X particle size classes.TT.normalise.sum.X
Plot soil texture triangles / diagrams.TT.plot
Plot a soil texture data table as points on an existing texture plot.TT.points
Classify a table of soil texture data according to a soil texture triangle.TT.points.in.classes
Function to change / set the default package parameters.TT.set
Stretch or reshape the range of value of some data set.TT.str
Plot text labels for each values of a soil texture data table on an existing texture plot.TT.text
Log-linear transformation of a soil texture data table between 2 particle size systems (3 classes).TT.text.transf
Log-linear transformation of a soil texture data table between 2 particle size systems (X classes).TT.text.transf.X
Plot the vertices of a texture classification system.TT.vertices.plot
Returns the table of vertices of a texture classification system.TT.vertices.tbl