[R] Creating vegetation distance groups from one column
jeanwaijang at gmail.com
Sat Oct 6 02:09:02 CEST 2012
Hi Thanks to all for posting!
In plyr I did try something similar, a combination of what I learned from
all who replied. It seemed to work. If anyone knows of any criticism about
the grouping structure please let me know. I need this to be accurate.
Grouping defined by (0-5m) (6-10m) (11-15m) (16-20m) (21-25m) (26-30m)
(31-35m) without overlap of measurements. See script below:
data.to.analyze$VegIndex = cut
labels=c("(0-5)", "(6-10)", "(11-15)",
"(16-20)", "(21-25)", "(26-30)", "(31-35)"))
VegIndex <- data.to.analyze$VegIndex
View this message in context: http://r.789695.n4.nabble.com/Creating-vegetation-distance-groups-from-one-column-tp4644970p4645235.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help