[R] mean

luca laghi llaghi at foodsci.unibo.it
Wed May 9 19:38:45 CEST 2001

a little question:
if I heve got a matrix with 10 columns, how do I produce a 10 elements
vector with the average of each column?
Thank you,

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