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


[Up] [Top]

Documentation for package ‘matrixStats’ version 0.51.0

Help Pages

matrixStats-package Package matrixStats
allValue Counts the number of TRUE values in each row (column) of a matrix
anyMissing Checks if there are any missing values in an object or not
anyValue Counts the number of TRUE values in each row (column) of a matrix
binCounts Fast element counting in non-overlapping bins
binMeans Fast mean calculations in non-overlapping bins
colAlls Counts the number of TRUE values in each row (column) of a matrix
colAnyMissings Checks if there are any missing values in an object or not
colAnys Counts the number of TRUE values in each row (column) of a matrix
colCollapse Extracts one cell per row (column) from a matrix
colCounts Counts the number of TRUE values in each row (column) of a matrix
colCummaxs Cumulative sums, products, minima and maxima for each row (column) in a matrix
colCummins Cumulative sums, products, minima and maxima for each row (column) in a matrix
colCumprods Cumulative sums, products, minima and maxima for each row (column) in a matrix
colCumsums Cumulative sums, products, minima and maxima for each row (column) in a matrix
colDiffs Calculates difference for each row (column) in a matrix
colIQRDiffs Estimation of scale based on sequential-order differences
colIQRs Estimates of the interquartile range for each row (column) in a matrix
colLogSumExps Accurately computes the logarithm of the sum of exponentials across rows or columns
colLogSumExps-method Accurately computes the logarithm of the sum of exponentials across rows or columns
colMadDiffs Estimation of scale based on sequential-order differences
colMads Standard deviation estimates for each row (column) in a matrix
colMaxs Gets the range of values in each row (column) of a matrix
colMedians Calculates the median for each row (column) in a matrix
colMins Gets the range of values in each row (column) of a matrix
colOrderStats Gets an order statistic for each row (column) in a matrix
colProds Calculates the product for each row (column) in a matrix
colQuantiles Estimates quantiles for each row (column) in a matrix
colRanges Gets the range of values in each row (column) of a matrix
colRanks Gets the rank of each row (column) of a matrix
colSdDiffs Estimation of scale based on sequential-order differences
colSds Standard deviation estimates for each row (column) in a matrix
colSds-method Standard deviation estimates for each row (column) in a matrix
colTabulates Tabulates the values in a matrix by row (column)
colVarDiffs Estimation of scale based on sequential-order differences
colVars Variance estimates for each row (column) in a matrix
colVars-method Variance estimates for each row (column) in a matrix
colWeightedMads Weighted Median Absolute Deviation (MAD)
colWeightedMeans Calculates the weighted means for each row (column) in a matrix
colWeightedMedians Calculates the weighted medians for each row (column) in a matrix
colWeightedSds Weighted variance and weighted standard deviation
colWeightedVars Weighted variance and weighted standard deviation
count Counts the number of TRUE values in each row (column) of a matrix
indexByRow Translates matrix indices by rows into indices by columns
iqr Estimates of the interquartile range for each row (column) in a matrix
iqrDiff Estimation of scale based on sequential-order differences
logSumExp Accurately computes the logarithm of the sum of exponentials
madDiff Estimation of scale based on sequential-order differences
matrixStats Package matrixStats
product Calculates the product for each row (column) in a matrix
rowAlls Counts the number of TRUE values in each row (column) of a matrix
rowAnyMissings Checks if there are any missing values in an object or not
rowAnys Counts the number of TRUE values in each row (column) of a matrix
rowCollapse Extracts one cell per row (column) from a matrix
rowCounts Counts the number of TRUE values in each row (column) of a matrix
rowCummaxs Cumulative sums, products, minima and maxima for each row (column) in a matrix
rowCummins Cumulative sums, products, minima and maxima for each row (column) in a matrix
rowCumprods Cumulative sums, products, minima and maxima for each row (column) in a matrix
rowCumsums Cumulative sums, products, minima and maxima for each row (column) in a matrix
rowDiffs Calculates difference for each row (column) in a matrix
rowIQRDiffs Estimation of scale based on sequential-order differences
rowIQRs Estimates of the interquartile range for each row (column) in a matrix
rowLogSumExps Accurately computes the logarithm of the sum of exponentials across rows or columns
rowLogSumExps-method Accurately computes the logarithm of the sum of exponentials across rows or columns
rowMadDiffs Estimation of scale based on sequential-order differences
rowMads Standard deviation estimates for each row (column) in a matrix
rowMaxs Gets the range of values in each row (column) of a matrix
rowMedians Calculates the median for each row (column) in a matrix
rowMins Gets the range of values in each row (column) of 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
rowSdDiffs Estimation of scale based on sequential-order differences
rowSds Standard deviation estimates for each row (column) in a matrix
rowSds-method Standard deviation estimates for each row (column) in a matrix
rowTabulates Tabulates the values in a matrix by row (column)
rowVarDiffs Estimation of scale based on sequential-order differences
rowVars Variance estimates for each row (column) in a matrix
rowVars-method Variance estimates for each row (column) in a matrix
rowWeightedMads Weighted Median Absolute Deviation (MAD)
rowWeightedMeans Calculates the weighted means for each row (column) in a matrix
rowWeightedMedians Calculates the weighted medians for each row (column) in a matrix
rowWeightedSds Weighted variance and weighted standard deviation
rowWeightedVars Weighted variance and weighted standard deviation
sdDiff Estimation of scale based on sequential-order differences
varDiff Estimation of scale based on sequential-order differences
weightedMad Weighted Median Absolute Deviation (MAD)
weightedMean Weighted Arithmetic Mean
weightedMedian Weighted Median Value
weightedSd Weighted variance and weighted standard deviation
weightedVar Weighted variance and weighted standard deviation