median.qts_sample {squat} | R Documentation |
QTS Geometric Median
Description
This function computes the pointwise geometric median of a QTS sample.
Usage
## S3 method for class 'qts_sample'
median(x, na.rm = FALSE, ...)
Arguments
x |
An object of class |
na.rm |
A logical value indicating whether NA values should be stripped before the computation proceeds. |
... |
Further arguments passed to or from other methods. |
Value
An object of class qts
in which quaternions are the
pointwise geometric median of the input QTS sample.
Examples
median(vespa64$igp)
[Package squat version 0.3.0 Index]