[R] Mean of colMeans

Kate Ignatius kate.ignatius at gmail.com
Wed May 21 20:26:54 CEST 2014


Hi All,

I've successfully gotten out the colMeans for 60 columns using:

col <- colMeans(x, na.rm = TRUE, dims = 1)

My next question is: is there a way of getting a mean of all the
column means (ie a mean of a mean)?

Thanks!



More information about the R-help mailing list