Closed philipp-baumann closed 1 year ago
matrixStats::rowMeans2()
and matrixStats::rowSds()
base::sweep()
lapply(.SD, ...)
type of sweeping.
check different implementations how to sweep the statistics from matrix.
matrixStats::rowMeans2()
andmatrixStats::rowSds()
- use
base::sweep()
- pure data.table
lapply(.SD, ...)
type of sweeping.- a {polars} implementation
for now, at least until CRAN release, {polars} impl has to wait.
=> current implementation: rowMeans2()
and rowSds()
from {matrixStats} in combination with base::sweep()
.
eventually use {polars} operation.