On 10/21/2010 10:03 AM, emorway wrote:
Hello,
Using the dataset below I produce a soil.texture plot (R code for this
included at the end). One will notice I have plotted the points based on
whether or not they are in a region called 'upstream' or 'downstream'. I'm
curious if there is a way to somehow extract counts of the number of points
(red points and blue points) falling within each classification (e.g. silty
loam, sandy clay, etc.)?
Hi emorway,
It is possible, but you would have to look at the code for soil.texture
and get the values from the internal function triax.segments. Then you
could test the values to see into which of these little polygons they
fell. A rather laborious task. Perhaps someone who does a lot of soil
analysis has already done this.
Jim
______________________________________________
R-help@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.