powered by
Similar to rowsum, but for mean values.
rowmean(x, group, ...)
a matrix
a factor with one element per row of x
additional arguments are passed to rowsum()
a matrix containing the means, with one row per level of group.