Displaying 1 result from an estimated 1 matches for "family_colors".
2011 Feb 25
1
color code in loop for piecharts plotting
Hi,
I am using this loop
par(mfrow=c(3,3))
annos<-c(2001:2007,2009)
for (i in annos) {
t<-subset(masia,YEAR==i)
t$FAMILIA<-drop.levels(t$FAMILIA)
pie(table(t$FAMILIA),main=i)
}
To make piecharts of species composition among years (my data frame is
called "masia"). So I get 1 piechart of the families that we have found in
our survey each year. We don't have always