powered by
Soil texture class to texture fractions conversion
TT2tri( TT.class, se.fit = TRUE, TT.im = NULL, soil.var = "TEXMHT", levs = c("S", "LS", "SL", "SCL", "SiL", "SiCL", "CL", "L", "Si", "SC", "SiC", "C", "HC") )
based on the soiltexture package
derive errors
soil texture triangle image
column name in the TT.im file
texture class legends (USDA system)
Data frame with estimated sand, silt and clay values
# NOT RUN { library("plyr") ## convert textures by hand to sand, silt and clay: TEXMHT <- c("CL","C","SiL","SiL","missing") x <- TT2tri(TEXMHT) x # }
Run the code above in your browser using DataLab