[R] mean

luca laghi llaghi at foodsci.unibo.it
Thu May 17 16:53:48 CEST 2001

I need help to understand what Iam doing wrong:
Yesterday I found the averages of a matrix columns with

apply(x, 2, mean)

Today I did it again on the same matrix obtaining results a bit different.

I suspect it is a sort of rounding problem as today the numbers are plotted
in scientific notation and yesterday they where not ...


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