colAggregators {rapidsplithalf} | R Documentation |
Fast matrix column aggregators
colMedians(x)
colProds(x)
colSds(x)
colMediansMasked(x, mask)
colMeansMasked(x, mask)
colSdsMasked(x, mask)
x |
A numeric matrix to compute column aggregates of. |
mask |
A logical matrix determining which data points to include in the column-wise aggregations. |
A numeric vector representing values aggregated by column.
colMeans, mediansByMask, maskAggregators
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)