Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor variance utilities for easier re-use.
All calculations now use Welford's algorithm for greater numerical stability. It also ensures identical results between the running and direct approaches. Also support skipping of NaNs, mimicking na.rm= in matrixStats functions.
- Loading branch information