| colAggregators {rapidsplithalf} | R Documentation | 
Fast matrix column aggregators
Description
Fast matrix column aggregators
Usage
colMedians(x)
colProds(x)
colSds(x)
colMediansMasked(x, mask)
colMeansMasked(x, mask)
colSdsMasked(x, mask)
Arguments
x | 
 A numeric matrix to compute column aggregates of.  | 
mask | 
 A logical matrix determining which data points to include in the column-wise aggregations.  | 
Value
A numeric vector representing values aggregated by column.
See Also
colMeans, mediansByMask, maskAggregators
Examples
x <- cbind(x1 = 3, x2 = c(4:1, 2:5))
colMedians(x)
colProds(x)
colSds(x)
mask<-cbind(rep(c(TRUE,FALSE),4),
            rep(c(TRUE,FALSE),each=4))
colMediansMasked(x,mask)
colMeansMasked(x,mask)
colSdsMasked(x,mask)
[Package rapidsplithalf version 0.2 Index]