You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rowMeans and friends with na.rm = TRUE still count the NA cells #1
when a matrix has a stored NA value, rowMeans, colMeans, rowVars, colVars, rowSds and colSds with na.rm = TRUE skip the NA in the sum but still divide by the full row or column length. so the answer comes out too small and doesn't match base R or matrixStats.
the variances and sds are off the same way. it hasn't come up yet because the tests only use data without NA, but any matrix with a missing value will hit it.
Activity