Displaying 3 results from an estimated 3 matches for "mtapply".
Did you mean:
tapply
2011 Jan 04
0
ENmisc_1.0
ENmisc contains two utility function
mtapply is a hybrid of mapply and tapply. It evaluates summary function
for each cell of data defined by a fixed set of factor values.
The reason I wrote it was to be able to compute weighted means
(using wtd.mean from Hmisc) to groups of data defined by factors,
but it accepts any multivariate function as...
2011 Jan 04
0
ENmisc_1.0
ENmisc contains two utility function
mtapply is a hybrid of mapply and tapply. It evaluates summary function
for each cell of data defined by a fixed set of factor values.
The reason I wrote it was to be able to compute weighted means
(using wtd.mean from Hmisc) to groups of data defined by factors,
but it accepts any multivariate function as...
2002 Oct 10
2
tapply for matrices
Does anyone have something like tapply that is extremely fast for matrices when there is a very large number of levels of the grouping variable?
I'm referring to, for example,
tapply(x, grouping.variable, function.operating.on.submatrix)
where x is a matrix and the submatrix is a subset of the rows of x. The grouping variable's length equals the number of rows of x.
--
Frank E