[R] crosstab means
heberto at MEAKINS.Lan.McGill.CA
Thu Oct 22 08:40:52 CEST 1998
I would like to obtain a crosstabulation of means(var, quantiles...)
i.e. I have a data frame with Var-i, Var-j, Var-k, Var-X, var-Y
I like to have the mean of Var-X for each combination of Var-i,Var-j.
One solution would be:
but I would like it better formatted and with mean,S.Dev,n for each
Does anybody have some function to do this or some ideas how to go
R. Heberto Ghezzo Ph.D.
Montreal - Canada
heberto at meakins.lan.mcgill.ca
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help