Package: matrixStats 1.4.1-9002

Henrik Bengtsson

matrixStats: Functions that Apply to Rows and Columns of Matrices (and to Vectors)

High-performing functions operating on rows and columns of matrices, e.g. col / rowMedians(), col / rowRanks(), and col / rowSds(). Functions optimized per data type and for subsetted calculations such that both memory usage and processing time is minimized. There are also optimized vector-based methods, e.g. binMeans(), madDiff() and weightedMedian().

Authors:Henrik Bengtsson [aut, cre, cph], Constantin Ahlmann-Eltze [ctb], Hector Corrada Bravo [ctb], Robert Gentleman [ctb], Jan Gleixner [ctb], Peter Hickey [ctb], Ola Hossjer [ctb], Harris Jaffee [ctb], Dongcan Jiang [ctb], Peter Langfelder [ctb], Brian Montgomery [ctb], Angelina Panagopoulou [ctb], Hugh Parsonage [ctb], Jakob Peder Pettersen [ctb]

matrixStats_1.4.1-9002.tar.gz
matrixStats_1.4.1-9002.zip(r-4.5)matrixStats_1.4.1-9002.zip(r-4.4)matrixStats_1.4.1-9002.zip(r-4.3)
matrixStats_1.4.1-9002.tgz(r-4.4-x86_64)matrixStats_1.4.1-9002.tgz(r-4.4-arm64)matrixStats_1.4.1-9002.tgz(r-4.3-x86_64)matrixStats_1.4.1-9002.tgz(r-4.3-arm64)
matrixStats_1.4.1-9002.tar.gz(r-4.5-noble)matrixStats_1.4.1-9002.tar.gz(r-4.4-noble)
matrixStats_1.4.1-9002.tgz(r-4.4-emscripten)matrixStats_1.4.1-9002.tgz(r-4.3-emscripten)
matrixStats.pdf |matrixStats.html
matrixStats/json (API)
NEWS

# Install 'matrixStats' in R:
install.packages('matrixStats', repos = c('https://fastverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/henrikbengtsson/matrixstats/issues

On CRAN:

matrixperformancevector

18.67 score 204 stars 2.2k packages 20k scripts 247k downloads 46 mentions 102 exports 0 dependencies

Last updated 7 days agofrom:d85002caf8. Checks:OK: 1 NOTE: 8. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-win-x86_64NOTENov 14 2024
R-4.5-linux-x86_64NOTENov 14 2024
R-4.4-win-x86_64NOTENov 14 2024
R-4.4-mac-x86_64NOTENov 14 2024
R-4.4-mac-aarch64NOTENov 14 2024
R-4.3-win-x86_64NOTENov 14 2024
R-4.3-mac-x86_64NOTENov 14 2024
R-4.3-mac-aarch64NOTENov 14 2024

Exports:allocArrayallocMatrixallocVectorallValueanyMissinganyValuebinCountsbinMeanscolAllscolAnyMissingscolAnyNAscolAnyscolAvgsPerRowSetcolCollapsecolCountscolCummaxscolCumminscolCumprodscolCumsumscolDiffscolIQRDiffscolIQRscolLogSumExpscolMadDiffscolMadscolMaxscolMeans2colMedianscolMinscolOrderStatscolProdscolQuantilescolRangescolRankscolSdDiffscolSdscolSums2colTabulatescolVarDiffscolVarscolWeightedMadscolWeightedMeanscolWeightedMedianscolWeightedSdscolWeightedVarscountdiff2indexByRowiqriqrDifflogSumExpmadDiffmean2productrowAllsrowAnyMissingsrowAnyNAsrowAnysrowAvgsPerColSetrowCollapserowCountsrowCummaxsrowCumminsrowCumprodsrowCumsumsrowDiffsrowIQRDiffsrowIQRsrowLogSumExpsrowMadDiffsrowMadsrowMaxsrowMeans2rowMediansrowMinsrowOrderStatsrowProdsrowQuantilesrowRangesrowRanksrowSdDiffsrowSdsrowSums2rowTabulatesrowVarDiffsrowVarsrowWeightedMadsrowWeightedMeansrowWeightedMediansrowWeightedSdsrowWeightedVarssdDiffsignTabulatesum2t_tx_OP_yvarDiffweightedMadweightedMeanweightedMedianweightedSdweightedVarx_OP_y

Dependencies:

matrixStats: Summary of functions

Rendered frommatrixStats-methods.md.rspusingR.rsp::rspon Nov 14 2024.

Last update: 2019-07-21
Started: 2014-12-20

Readme and manuals

Help Manual

Help pageTopics
Package matrixStatsmatrixStats-package matrixStats
Checks if there are any missing values in an object or notanyMissing colAnyMissings colAnyNAs rowAnyMissings rowAnyNAs
Fast element counting in non-overlapping binsbinCounts
Fast mean calculations in non-overlapping binsbinMeans
Translates matrix indices by rows into indices by columnsindexByRow
Accurately computes the logarithm of the sum of exponentialslogSumExp
Calculates the product for each row (column) in a matrixcolProds product rowProds
Checks if a value exists / does not exist in each row (column) of a matrixallValue anyValue colAlls colAnys rowAlls rowAnys
Extracts one cell per row (column) from a matrixcolCollapse rowCollapse
Counts the number of occurrences of a specific valuecolCounts count rowCounts
Cumulative sums, products, minima and maxima for each row (column) in a matrixcolCummaxs colCummins colCumprods colCumsums rowCummaxs rowCummins rowCumprods rowCumsums
Calculates difference for each row (column) in a matrixcolDiffs rowDiffs
Estimates of the interquartile range for each row (column) in a matrixcolIQRs iqr rowIQRs
Accurately computes the logarithm of the sum of exponentials across rows or columnscolLogSumExps rowLogSumExps
Standard deviation estimates for each row (column) in a matrixcolMads colSds rowMads rowSds
Calculates the mean for each row (column) in a matrixcolMeans2 rowMeans2
Calculates the median for each row (column) in a matrixcolMedians rowMedians
Gets an order statistic for each row (column) in a matrixcolOrderStats rowOrderStats
Estimates quantiles for each row (column) in a matrixcolQuantiles rowQuantiles
Gets the range of values in each row (column) of a matrixcolMaxs colMins colRanges rowMaxs rowMins rowRanges
Gets the rank of the elements in each row (column) of a matrixcolRanks rowRanks
Calculates the sum for each row (column) in a matrixcolSums2 rowSums2
Tabulates the values in a matrix by row (column).colTabulates rowTabulates
Variance estimates for each row (column) in a matrixcolVars rowVars
Calculates the weighted means for each row (column) in a matrixcolWeightedMeans rowWeightedMeans
Calculates the weighted medians for each row (column) in a matrixcolWeightedMedians rowWeightedMedians
Estimation of scale based on sequential-order differencescolIQRDiffs colMadDiffs colSdDiffs colVarDiffs iqrDiff madDiff rowIQRDiffs rowMadDiffs rowSdDiffs rowVarDiffs sdDiff varDiff
Weighted Median Absolute Deviation (MAD)colWeightedMads rowWeightedMads weightedMad
Weighted Arithmetic MeanweightedMean
Weighted Median ValueweightedMedian
Weighted variance and weighted standard deviationcolWeightedSds colWeightedVars rowWeightedSds rowWeightedVars weightedSd weightedVar