[R] Dummy newbie question

Julien Barnier jbarnier at lille-metropole-2015.org
Wed Apr 24 09:49:06 CEST 2002


Hi,

Excuse me for a so dummy question, but I really can't manage to do this 
very simple thing : I have a data frame, and I would like to calculate 
two vectors which contain the sums respectively of the rows and of the 
columns of the matrix.

There is surely a very simple way to do that, but I didn't find it...

Many thanks in advance.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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