[R] row and column totals in multidimensional tables

juan pablo perez valdentro at hotmail.com
Sun Oct 13 12:26:35 CEST 2002


the function apply() allows to compute the row sum of a multidimensional 
table but, when I try to merge the new column with the original table whith 
cbind(), the grouping varibles disapear and the new table is bidimensional.
Knows anybody how to add row totals to a multidimensional table?

Thanks in advance

Juan Pablo

Únase al mayor servicio mundial de correo electrónico: 

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 mailing list