A vector indicating subset of rows (and/or columns)
to operate over. If NULL, no subsetting is done.
na.rm
If TRUE, missing values are excluded from the calculation,
otherwise not.
...
Additional arguments passed to weightedMedian().
Details
The implementations of these methods are optimized for both speed
and memory.
If no weights are given, the corresponding
rowMedians()/colMedians() is used.
Value
Returns a numericvector of length N (K).
Author(s)
Henrik Bengtsson
See Also
See rowMedians() and colMedians() for non-weighted medians.
Internally, weightedMedian() is used.