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


[Up] [Top]

Documentation for package ‘matrixStats’ version 1.0.0

Help Pages

matrixStats-package Package matrixStats
allValue Checks if a value exists / does not exist in each row (column) of a matrix
anyMissing Checks if there are any missing values in an object or not
anyValue Checks if a value exists / does not exist in each row (column) of a matrix
binCounts Fast element counting in non-overlapping bins
binMeans Fast mean calculations in non-overlapping bins
colAlls Checks if a value exists / does not exist in each row (column) of a matrix
colAnyMissings Checks if there are any missing values in an object or not
colAnyNAs Checks if there are any missing values in an object or not
colAnys Checks if a value exists / does not exist in each row (column) of a matrix
colCollapse Extracts one cell per row (column) from a matrix
colCounts Counts the number of occurrences of a specific value
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
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
colMeans2 Calculates the mean for each row (column) in 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 the elements in 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
colSums2 Calculates the sum 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
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 occurrences of a specific value
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 Checks if a value exists / does not exist in each row (column) of a matrix
rowAnyMissings Checks if there are any missing values in an object or not
rowAnyNAs Checks if there are any missing values in an object or not
rowAnys Checks if a value exists / does not exist in each row (column) of a matrix
rowCollapse Extracts one cell per row (column) from a matrix
rowCounts Counts the number of occurrences of a specific value
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
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
rowMeans2 Calculates the mean for each row (column) in 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 the elements in 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
rowSums2 Calculates the sum 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
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