Skip to content
Back to formatted view

Raw Message

Message-ID: <1349422688761-4645127.post@n4.nabble.com>
Date: 2012-10-05T07:38:08Z
From: Jhope
Subject: Creating vegetation distance groups from one column
In-Reply-To: <OFE2B66EF7.E6477C54-ON86257A8D.00721832-86257A8D.00723EBC@usgs.gov>

Thank you! That has worked for me when creating graphs. In plyr I used the
script:

# Veg Index 
data.to.analyze$VegIndex <- cut(data.to.analyze$Veg,
      breaks=seq(0, 35, 5), include.lowest=TRUE)
VegIndex <- data.to.analyze$VegIndex
plot(VegIndex)

But the vegetation distances on the x-axis in the graph are showing up as: 
[-5,0] (0,5] (5,10] (10,15] (15,20] (20,25] (25,30] 

I am concerned these vegetation classes are not grouped probably and there
is overlap between the classes. It should read, preferably without brackets
or only one kind (): 
(-5-0) (1-5) (6-10) (11-15) (16-20) (21-25) (26-30)

How do I fix this?
Please advise, Jean



--
View this message in context: http://r.789695.n4.nabble.com/Creating-vegetation-distance-groups-from-one-column-tp4644970p4645127.html
Sent from the R help mailing list archive at Nabble.com.