[R] R Help finding Mean

cenae27 cenae27 at hotmail.com
Thu Sep 1 14:36:28 CEST 2011

bob<-read.csv('shi.csv', header=T)

newmean<-matrix(0, test, dim(bob)[2]-6);a<-0; for (i in
{a<-a+1;newmean[,a]<-tapply(bob[,i], bob$Exam, mean)}

Could anyone please help me what does the above code does ... I want to find
mean ... but would like to know what exactly is the above code doing.

Thanks for your help.

View this message in context: http://r.789695.n4.nabble.com/R-Help-finding-Mean-tp3783400p3783400.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list