At each depth, there are a recorded number of infected individuals. I want to make depth categories. And I'm trying to organize the number of infected that fall under each category. Hence why I want to make depth categories, ranges for example, of 0-7 meters, 8-10 meters, 11-15 meters, and 16-26 meters.
CDD_A <- read.csv("Coral Disease Data")
Infected <- subset(CDD_A,select=Sum.Infected)
Depth<-subset(CDD_A, select = Depth)
Lat <- subset(CDD_A, select = LAT)
Long <- subset(CDD_A, select = LONG)
ID_A = cbind(Lat, Long, Depth, Infected)
View(ID_A)