matrixStats: Methods that apply to rows and columns of a matrix

This packages provides methods operating on rows and columns of matrices, e.g. col/rowMedians() and col/rowRanks(). There are also some vector-based methods, e.g. anyMissing(), weightedMedians(), and binMeans(). The objective is to have all methods being optimized for speed and memory usage.

Author
Henrik Bengtsson [aut, cre, cph], Hector Corrada Bravo [ctb], Robert Gentleman [ctb], Ola Hossjer [ctb], Harris Jaffee [ctb], Peter Langfelder [ctb]
Date of publication
2014-06-15 00:04:04
Maintainer
Henrik Bengtsson <henrikb@braju.com>
License
Artistic-2.0
Version
0.10.1

View on R-Forge

Man pages

anyMissing
Checks if there are any missing values in an object or not
binCounts
Fast element counting in non-overlapping bins
binMeans
Fast mean calculations in non-overlapping bins
indexByRow
Translates matrix indices by rows into indices by columns
logSumExp
Accurately computes the logarithm of the sum of exponentials
matrixStats-package
Package matrixStats
rowAvgsPerColSet.matrix
Applies a row-by-row (column-by-column) averaging function to...
rowCollapse
Extracts one cell per row (column) from a matrix
rowCounts
Counts the number of TRUE values in each row (column) of a...
rowDiffs
Calculates difference for each row (column) in a matrix
rowIQRs
Estimates of the interquartile range for each row (column) in...
rowLogSumExps
Accurately computes the logarithm of the sum of exponentials...
rowMedians
Calculates the median for each row (column) in a matrix
rowOrderStats
Gets an order statistic for each row (column) in a matrix
rowProds
Calculates the product for each row (column) in a matrix
rowQuantiles
Estimates quantiles for each row (column) in a matrix
rowRanges
Gets the range of values in each row (column) of a matrix
rowRanks
Gets the rank of each row (column) of a matrix
rowSds
Standard deviation estimates for each row (column) in a...
rowTabulates
Tabulates the values in a matrix by row (column)
rowVars
Variance estimates for each row (column) in a matrix
rowWeightedMeans.matrix
Calculates the weighted means for each row (column) in a...
rowWeightedMedians.matrix
Calculates the weighted medians for each row (column) in a...
signTabulate
Calculates the number of negative, zero, positive and missing...
varDiff
Estimation of discrepancies based on sequential order...
weightedMad
Weighted Median Absolute Deviation (MAD)
weightedMedian
Weighted Median Value
weightedVar
Weighted variance

Files in this package

matrixStats/DESCRIPTION
matrixStats/NAMESPACE
matrixStats/NEWS
matrixStats/R
matrixStats/R/999.package.R
matrixStats/R/anyMissing.R
matrixStats/R/benchmark.R
matrixStats/R/binCounts.R
matrixStats/R/binMeans.R
matrixStats/R/indexByRow.R
matrixStats/R/logSumExp.R
matrixStats/R/madDiff.R
matrixStats/R/product.R
matrixStats/R/psortKM.R
matrixStats/R/rowAvgsPerColSet.R
matrixStats/R/rowCollapse.R
matrixStats/R/rowCounts.R
matrixStats/R/rowDiffs.R
matrixStats/R/rowIQRs.R
matrixStats/R/rowLogSumExps.R
matrixStats/R/rowMads.R
matrixStats/R/rowMedians.R
matrixStats/R/rowOrderStats.R
matrixStats/R/rowProds.R
matrixStats/R/rowQuantiles.R
matrixStats/R/rowRanges.R
matrixStats/R/rowRanks.R
matrixStats/R/rowSds.R
matrixStats/R/rowTabulates.R
matrixStats/R/rowVars.R
matrixStats/R/rowWeightedMeans.matrix.R
matrixStats/R/rowWeightedMedians.matrix.R
matrixStats/R/sdDiff.R
matrixStats/R/signTabulate.R
matrixStats/R/varDiff.R
matrixStats/R/weightedMad.R
matrixStats/R/weightedMedian.R
matrixStats/R/weightedVar.R
matrixStats/R/zzz.R
matrixStats/inst
matrixStats/inst/benchmarking
matrixStats/inst/benchmarking/R
matrixStats/inst/benchmarking/R/random-matrices.R
matrixStats/inst/benchmarking/R/random-vectors.R
matrixStats/inst/benchmarking/binCounts.md.rsp
matrixStats/inst/benchmarking/binMeans.md.rsp
matrixStats/inst/benchmarking/colRowAnyMissings.md.rsp
matrixStats/inst/benchmarking/colRowCounts.md.rsp
matrixStats/inst/benchmarking/colRowLogSumExps.md.rsp
matrixStats/inst/benchmarking/colRowMads.md.rsp
matrixStats/inst/benchmarking/colRowMeans.md.rsp
matrixStats/inst/benchmarking/colRowMedians.md.rsp
matrixStats/inst/benchmarking/colRowMins.md.rsp
matrixStats/inst/benchmarking/colRowOrderStats.md.rsp
matrixStats/inst/benchmarking/colRowProds.md.rsp
matrixStats/inst/benchmarking/colRowQuantiles.md.rsp
matrixStats/inst/benchmarking/colRowRanges.md.rsp
matrixStats/inst/benchmarking/colRowRanks.md.rsp
matrixStats/inst/benchmarking/colRowSds.md.rsp
matrixStats/inst/benchmarking/colRowSums.md.rsp
matrixStats/inst/benchmarking/colRowTabulates.md.rsp
matrixStats/inst/benchmarking/colRowWeightedMeans.md.rsp
matrixStats/inst/benchmarking/colRowWeightedMedians.md.rsp
matrixStats/inst/benchmarking/includes
matrixStats/inst/benchmarking/includes/appendix.md.rsp
matrixStats/inst/benchmarking/includes/footer.md.rsp
matrixStats/inst/benchmarking/includes/header.md.rsp
matrixStats/inst/benchmarking/includes/references.md.rsp
matrixStats/inst/benchmarking/includes/results.md.rsp
matrixStats/inst/benchmarking/includes/setup.md.rsp
matrixStats/inst/benchmarking/index.md.rsp
matrixStats/inst/benchmarking/product.md.rsp
matrixStats/inst/benchmarking/weightedMedian.md.rsp
matrixStats/man
matrixStats/man/anyMissing.Rd
matrixStats/man/binCounts.Rd
matrixStats/man/binMeans.Rd
matrixStats/man/indexByRow.Rd
matrixStats/man/logSumExp.Rd
matrixStats/man/matrixStats-package.Rd
matrixStats/man/rowAvgsPerColSet.matrix.Rd
matrixStats/man/rowCollapse.Rd
matrixStats/man/rowCounts.Rd
matrixStats/man/rowDiffs.Rd
matrixStats/man/rowIQRs.Rd
matrixStats/man/rowLogSumExps.Rd
matrixStats/man/rowMedians.Rd
matrixStats/man/rowOrderStats.Rd
matrixStats/man/rowProds.Rd
matrixStats/man/rowQuantiles.Rd
matrixStats/man/rowRanges.Rd
matrixStats/man/rowRanks.Rd
matrixStats/man/rowSds.Rd
matrixStats/man/rowTabulates.Rd
matrixStats/man/rowVars.Rd
matrixStats/man/rowWeightedMeans.matrix.Rd
matrixStats/man/rowWeightedMedians.matrix.Rd
matrixStats/man/signTabulate.Rd
matrixStats/man/varDiff.Rd
matrixStats/man/weightedMad.Rd
matrixStats/man/weightedMedian.Rd
matrixStats/man/weightedVar.Rd
matrixStats/src
matrixStats/src/anyMissing.c
matrixStats/src/binCounts-BINBY-template.h
matrixStats/src/binCounts.c
matrixStats/src/binMeans-BINBY-template.h
matrixStats/src/binMeans.c
matrixStats/src/logSumExp.c
matrixStats/src/productExpSumLog.c
matrixStats/src/productExpSumLog_TYPE-template.h
matrixStats/src/psortKM.c
matrixStats/src/rowCounts.c
matrixStats/src/rowCounts_TYPE-template.h
matrixStats/src/rowMedians.c
matrixStats/src/rowMedians_TYPE-template.h
matrixStats/src/rowOrderStats.c
matrixStats/src/rowOrderStats_TYPE-template.h
matrixStats/src/rowRanks.c
matrixStats/src/rowRanks_Integer.c
matrixStats/src/rowRanks_Real.c
matrixStats/src/rowRanks_TYPE_TIES-template.h
matrixStats/src/rowRanks_TYPE_TIES.c
matrixStats/src/signTabulate.c
matrixStats/src/signTabulate_TYPE-template.h
matrixStats/src/templates-types.h
matrixStats/src/templates-types_undef.h
matrixStats/tests
matrixStats/tests/anyMissing.R
matrixStats/tests/binCounts.R
matrixStats/tests/binMeans,binCounts.R
matrixStats/tests/logSumExp.R
matrixStats/tests/product.R
matrixStats/tests/psortKM.R
matrixStats/tests/rowCounts.R
matrixStats/tests/rowLogSumExps.R
matrixStats/tests/rowMads.R
matrixStats/tests/rowMedians.R
matrixStats/tests/rowOrderStats.R
matrixStats/tests/rowProds.R
matrixStats/tests/rowQuantiles.R
matrixStats/tests/rowRanges.R
matrixStats/tests/rowRanks,ties.R
matrixStats/tests/rowRanks.R
matrixStats/tests/rowSds.R
matrixStats/tests/rowTabulates.R
matrixStats/tests/rowVars.R
matrixStats/tests/rowWeightedMeans.R
matrixStats/tests/rowWeightedMedians.R
matrixStats/tests/sdDiff.R
matrixStats/tests/signTabulate.R