Here is a small example of my input:
Term <- c("Fall 2010", "Fall 2010", "Fall 2011", "Fall 2011", "Fall 2011", "Fall 2011", "Fall 2010", "Fall 2010", "Fall 2011", "Fall 2011", "Fall 2011", "Fall 2011")
College <- c("COE", "COBA", "COBA", "COLFA", "COE", "COBA", "COBA", "COBA", "COBA", "COBA", "COBA", "COLFA")
mydata <- data.frame(Term, College)
mydata
#Used the tables library to create a count of the occurrences.
require(tables)
tab<- tabular(Factor(College) ~ (Factor(Term)), data=mydata)
tab
I would like to calculate a percentage change from fall 2010 to fall 2011 for each row and put that in a column of the table. Any help on this would be much appreciated.