Dear R users I'd like to know if it is possible to create conditional plots in the soiltexture package. I have data from the particle size distribution of soils derived from two parent materials and I want to use the parent material as conditioner. Thanks a lot. Alessandro Samuel-Rosa Post-Graduation Program in Soil Science Federal University of Santa Maria Av. Roraima, n? 1000, CEP 97105-970 Santa Maria, RS, Brazil -- View this message in context: http://r.789695.n4.nabble.com/Conditional-plots-in-the-soiltexture-package-tp3777783p3777783.html Sent from the R help mailing list archive at Nabble.com.
Conditional plots in the soiltexture package
3 messages · Julien Moeys, samuel-rosa
Dear Alessandro
I am not sure what you mean by "conditional plot"
But if it is about having a different symbol, for different soil parent materials, you can use the pch argument in TT.plot()
#######
require( soiltexture )
# :: 1st create a dummy texture dataset
my.text <- data.frame(
"CLAY" = c(05,60,15,05,25,05,25,45,65,75,13,47),
"SILT" = c(05,08,15,25,55,85,65,45,15,15,17,43),
"SAND" = c(90,32,70,70,20,10,10,10,20,10,70,10),
"parent"= rep(1:2,each=6) # parent material and symbol code
) #
dim( my.text )
TT.plot( tri.data = my.text, pch = my.text[,"parent"] )
#######
Is that what you need?
All the best
Julien
From: r-help-bounces at r-project.org [r-help-bounces at r-project.org] On Behalf Of samuel-rosa [alessandrosamuel at yahoo.com.br]
Sent: 30 August 2011 03:48
To: r-help at r-project.org
Subject: [R] Conditional plots in the soiltexture package
Sent: 30 August 2011 03:48
To: r-help at r-project.org
Subject: [R] Conditional plots in the soiltexture package
Dear R users I'd like to know if it is possible to create conditional plots in the soiltexture package. I have data from the particle size distribution of soils derived from two parent materials and I want to use the parent material as conditioner. Thanks a lot. Alessandro Samuel-Rosa Post-Graduation Program in Soil Science Federal University of Santa Maria Av. Roraima, n? 1000, CEP 97105-970 Santa Maria, RS, Brazil -- View this message in context: http://r.789695.n4.nabble.com/Conditional-plots-in-the-soiltexture-package-tp3777783p3777783.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Dear Julien It is exactly what I need. Thanks a lot. ----- Bc.Sc.Agri. Alessandro Samuel-Rosa Postgraduate Program in Soil Science Federal University of Santa Maria Av. Roraima, n? 1000, Bairro Camobi, CEP 97105-970 Santa Maria, Rio Grande do Sul, Brazil -- View this message in context: http://r.789695.n4.nabble.com/Conditional-plots-in-the-soiltexture-package-tp3777783p3778562.html Sent from the R help mailing list archive at Nabble.com.