with(datasetname, tapply(analysisvariable , list(rowvariable , columnvariable ), mean))
and also after installing reshape and plyr packages:
library(reshape)
cast(bill1, female ~ competitive , value = ‘score2’, fun = mean)
with(datasetname, tapply(analysisvariable , list(rowvariable , columnvariable ), mean))
and also after installing reshape and plyr packages:
library(reshape)
cast(bill1, female ~ competitive , value = ‘score2’, fun = mean)