Weighted sample mean |
weightedMean(), colWeightedMeans(),
rowWeightedMeans() |
weightedMean(x, w); rowWeightedMeans(x, w) |
Mean |
mean2(), colMeans2(), rowMeans2() |
mean2(x); rowMeans2(x) |
Median |
median(), colMedians(), rowMedians() |
median(x); rowMedians(x) |
Weighted median |
weightedMedian(), colWeightedMedians(),
rowWeightedMedians() |
weightedMedian(x, w); rowWeightedMedians(x, w) |
Sample variance |
var(), colVars(), rowVars() |
var(x); rowVars(x) |
Weighted sample variance |
weightedVar(), colWeightedVars(),
rowWeightedVars() |
weightedVar(x, w), rowWeightedVars(x, w) |
Sample variance by n-order differences |
varDiff(), colVarDiffs(), rowVarDiffs() |
varDiff(x); rowVarDiffs(x) |
Sample standard deviation |
sd(), colSds(), rowSds() |
sd(x); rowSds(x) |
Weighted sample deviation |
weightedSd(), colWeightedSds(), rowWeightedSds() |
weightedSd(x, w), rowWeightedSds(x, w) |
Sample standard deviation by n-order differences |
sdDiff(), colSdDiffs(), rowSdDiffs() |
sdDiff(x); rowSdDiffs(x) |
Median absolute deviation (MAD) |
mad(), colMads(), rowMads() |
mad(x); rowMads(x) |
Weighted median absolute deviation (MAD) |
weightedMad(), colWeightedMads(),
rowWeightedMads() |
weightedMad(x, w), rowWeightedMads(x, w) |
Median absolute deviation (MAD) by n-order
differences |
madDiff(), colMadDiffs(), rowMadDiffs() |
madDiff(x); rowMadDiffs() |
Quantile |
quantile(), colQuantiles(), rowQuantiles() |
quantile(x, probs); rowQuantiles(x, probs) |
Interquartile range (IQR) |
iqr(), colIQRs(), rowIQRs() |
iqr(x); rowIQRs(x) |
Interquartile range (IQR) by n-order differences |
iqrDiff(), colIQRDiffs(), rowIQRDiffs() |
iqrDiff(x); rowIQRDiffs(x) |
Range |
range(), colRanges(), rowRanges() |
range(x); rowRanges(x) |
Minimum |
min(), colMins(), rowMins() |
min(x); rowMins(x) |
Maximum |
max(), colMaxs(), rowMaxs() |
max(x); rowMaxs(x) |