juan pablo perez
2002-Oct-13 10:26 UTC
[R] row and column totals in multidimensional tables
Hello! 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Apparently Analagous Threads
- Kernlab: multidimensional targets in rvm(), ksvm(), gausspr()
- How to apply a function to a multidimensional array, based on its indices
- multiplying multidimensional arrays (was: Re: [R] Manipulation involving arrays)
- multidimensional integration not over a multidimensionalrectangle
- [despammed] RE: multidimensional function fitting