get.soil.texture | R Documentation |
‘get.soil.texture’ calls ‘get.triprop’ to allow the user to enter soil textures as the proportions or percentages of three components, sand, silt and clay.
get.soil.texture(use.percentages=FALSE,cnames=c("sand","silt","clay"))
use.percentages |
Logical - whether to treat the entries as percentages and scale to proportions. |
cnames |
column names for the resulting three column matrix. |
A matrix of the components of one or more soil samples.
Sander Oom and Jim Lemon
soil.texture,get.triprop
if(dev.interactive()) {
newsp<-get.soil.texture()
# show the soil triangle
soil.texture()
# now plot the observations
show.soil.texture(newsp)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.